save-some-buffers-default-predicate doc clarification

* lisp/files.el (save-some-buffers-default-predicate): Clarify
calling convention.
This commit is contained in:
Lars Ingebrigtsen 2019-08-05 12:18:40 +02:00
parent 47a3e0dc2c
commit f1f6f20ca0

View 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.