1
0
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:
Lars Ingebrigtsen 2021-09-25 07:32:48 +02:00
parent 78d76d2673
commit 83e08dfef3
2 changed files with 4 additions and 4 deletions

View File

@ -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'.

View File

@ -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."