mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
save-some-buffers-root doc string change
* lisp/files.el (save-some-buffers-root): Improve doc string.
This commit is contained in:
parent
78d76d2673
commit
83e08dfef3
6
etc/NEWS
6
etc/NEWS
@ -1001,10 +1001,10 @@ If nil, Emacs does not prompt, but instead shows the buffer with its
|
||||
contents before the change, and provides instructions how to revert
|
||||
the buffer.
|
||||
|
||||
---
|
||||
** New value 'save-some-buffers-root' of 'save-some-buffers-default-predicate'.
|
||||
They allow to ask about saving only those files that are under the
|
||||
project root or in subdirectories of the directory that was default
|
||||
during command invocation.
|
||||
When using this predicate, only buffers under the current project root
|
||||
will be considered when saving buffers with 'save-some-buffers'.
|
||||
|
||||
---
|
||||
** New user option 'save-place-abbreviate-file-names'.
|
||||
|
@ -5756,7 +5756,7 @@ be saved."
|
||||
:version "26.1")
|
||||
|
||||
(defun save-some-buffers-root ()
|
||||
"A predicate to check whether the buffer is under the root directory.
|
||||
"A predicate to check whether the buffer is under the project root directory.
|
||||
Can be used as a value of `save-some-buffers-default-predicate'
|
||||
to save buffers only under the project root or in subdirectories
|
||||
of the directory that was default during command invocation."
|
||||
|
Loading…
Reference in New Issue
Block a user