aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-05 12:18:40 +0200
committerLars Ingebrigtsen2019-08-05 12:43:17 +0200
commitf1f6f20ca0a3e3190defa79bcfcc59eb6aa3b4dc (patch)
tree6fe5b1ca705e8d5a394823382d2ef1158bf664a9
parent47a3e0dc2cb2f583fcb52599bfc06849ec2389d8 (diff)
downloademacs-f1f6f20ca0a3e3190defa79bcfcc59eb6aa3b4dc.tar.gz
emacs-f1f6f20ca0a3e3190defa79bcfcc59eb6aa3b4dc.zip
save-some-buffers-default-predicate doc clarification
* lisp/files.el (save-some-buffers-default-predicate): Clarify calling convention.
-rw-r--r--lisp/files.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 009f52a3c68..f76635017d5 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5425,8 +5425,12 @@ Before and after saving the buffer, this function runs
5425 5425
5426(defcustom save-some-buffers-default-predicate nil 5426(defcustom save-some-buffers-default-predicate nil
5427 "Default predicate for `save-some-buffers'. 5427 "Default predicate for `save-some-buffers'.
5428
5428This allows you to stop `save-some-buffers' from asking 5429This allows you to stop `save-some-buffers' from asking
5429about certain files that you'd usually rather not save." 5430about certain files that you'd usually rather not save.
5431
5432This function is called (with no parameters) from the buffer to
5433be saved."
5430 :group 'auto-save 5434 :group 'auto-save
5431 ;; FIXME nil should not be a valid option, let alone the default, 5435 ;; FIXME nil should not be a valid option, let alone the default,
5432 ;; eg so that add-function can be used. 5436 ;; eg so that add-function can be used.