]> git.eshelyaron.com Git - emacs.git/commitdiff
save-some-buffers-default-predicate doc clarification
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 5 Aug 2019 10:18:40 +0000 (12:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 5 Aug 2019 10:43:17 +0000 (12:43 +0200)
* lisp/files.el (save-some-buffers-default-predicate): Clarify
calling convention.

lisp/files.el

index 009f52a3c68b6f3ed86ac5ec5f065c6d8a1e4f79..f76635017d5caf771bc338b42d5eda7db99eb9c5 100644 (file)
@@ -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.