emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f1f6f20 1/2: save-some-buffers-default-predicate do


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master f1f6f20 1/2: save-some-buffers-default-predicate doc clarification
Date: Mon, 5 Aug 2019 06:43:30 -0400 (EDT)

branch: master
commit f1f6f20ca0a3e3190defa79bcfcc59eb6aa3b4dc
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    save-some-buffers-default-predicate doc clarification
    
    * lisp/files.el (save-some-buffers-default-predicate): Clarify
    calling convention.
---
 lisp/files.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index 009f52a..f766350 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5425,8 +5425,12 @@ Before and after saving the buffer, this function runs
 
 (defcustom save-some-buffers-default-predicate nil
   "Default predicate for `save-some-buffers'.
+
 This allows you to stop `save-some-buffers' from asking
-about certain files that you'd usually rather not save."
+about certain files that you'd usually rather not save.
+
+This function is called (with no parameters) from the buffer to
+be saved."
   :group 'auto-save
   ;; FIXME nil should not be a valid option, let alone the default,
   ;; eg so that add-function can be used.



reply via email to

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