emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-26 ee512e9: Ignore buffers whose name begins wit


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] emacs-26 ee512e9: Ignore buffers whose name begins with a space in save-some-buffers
Date: Fri, 22 Sep 2017 20:21:03 +0300

> From: Eric Abrahamsen <address@hidden>
> Date: Fri, 22 Sep 2017 08:52:30 -0700
> 
> (and pred
>      (progn
>        (set-buffer buffer)
>        (and buffer-offer-save (> (buffer-size) 0))))
> 
> Unless a user has customized `save-some-buffers-default-predicate', PRED
> is only t when Emacs is exiting.
> 
> I don't understand why it's being used this way, or why
> `save-some-buffers' should behave differently when called interactively
> vs when Emacs is exiting, but I didn't want to touch it because, as has
> been pointed out, it's been this way for decades.

Does VCS history explain why PRED is used like that?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]