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: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-26 ee512e9: Ignore buffers whose name begins with a space in save-some-buffers
Date: Fri, 22 Sep 2017 15:03:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> "If b-o-s is t and PRED is t the buffer will be saved, unless b-o-s is
> 'always in which case it doesn't matter what PRED is, unless PRED is a
> function in which case the only thing that matters is what that function
> returns, so long as buffer has a file name."
>
> I'm exaggerating for effect, but still. I still don't quite understand
> the use of passing a boolean in for PRED.

It's historical.  `pred = t` means "all possible buffers", whereas
`pred = nil` means "all buffers where we usually want to do it" and
another value of `pred` means just those buffers selected by pred.


        Stefan




reply via email to

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