emacs-diffs
[Top][All Lists]
Advanced

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

master 83e08df: save-some-buffers-root doc string change


From: Lars Ingebrigtsen
Subject: master 83e08df: save-some-buffers-root doc string change
Date: Sat, 25 Sep 2021 01:33:18 -0400 (EDT)

branch: master
commit 83e08dfef338e23c90fa9a75eda30d198a7d026b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    save-some-buffers-root doc string change
    
    * lisp/files.el (save-some-buffers-root): Improve doc string.
---
 etc/NEWS      | 6 +++---
 lisp/files.el | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 94df3de..40e85c6 100644
--- a/etc/NEWS
+++ b/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'.
diff --git a/lisp/files.el b/lisp/files.el
index 2f7e936..05875b4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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."



reply via email to

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