Subject: Re: bug#28412: 26.0.50; Let save-some-buffers accept write-contents-functions

From: Eli Zaretskii <[email-masked]>
Date: Tue, 19 Sep 2017 19:13:13 +0300

> From: Kaushal Modi <[email-masked]>
> Date: Mon, 18 Sep 2017 21:48:15 +0000
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> 
> Yup. I also see this in the "(emacs) Undo" Info node:
> 
> Some specialized buffers do not make undo records. Buffers whose
> names start with spaces never do; these buffers are used internally by
> Emacs to hold text that users don’t normally look at or edit.
> 
> But I cannot find the code that implements that.

It's in get-buffer-create:

  bset_undo_list (b, SREF (name, 0) != ' ' ? Qnil : Qt);