mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 19:00:55 -08:00
; * lisp/files.el (save-some-buffers-functions): Doc fix (bug#65414).
This commit is contained in:
parent
42b14c6e5b
commit
1d3d419607
1 changed files with 7 additions and 3 deletions
|
|
@ -5997,14 +5997,18 @@ See `save-some-buffers' for PRED values."
|
||||||
|
|
||||||
(defvar save-some-buffers-functions nil
|
(defvar save-some-buffers-functions nil
|
||||||
"Functions to be run by `save-some-buffers' after saving the buffers.
|
"Functions to be run by `save-some-buffers' after saving the buffers.
|
||||||
The functions can be called in two \"modes\", depending on the
|
These functions should accept one mandatory and one optional
|
||||||
first argument. If the first argument is `query', then the
|
argument, and they can be called in two \"modes\", depending on
|
||||||
|
the first argument. If the first argument is `query', then the
|
||||||
function should return non-nil if there is something to be
|
function should return non-nil if there is something to be
|
||||||
saved (but it should not actually save anything).
|
saved (but it should not actually save anything).
|
||||||
|
|
||||||
If the first argument is something else, then the function should
|
If the first argument is something else, then the function should
|
||||||
save according to the value of the second argument, which is the
|
save according to the value of the second argument, which is the
|
||||||
ARG argument from `save-some-buffers'.")
|
ARG argument with which `save-some-buffers' was called.
|
||||||
|
|
||||||
|
The main purpose of these functions is to save stuff that is kept
|
||||||
|
in variables (rather than in buffers).")
|
||||||
|
|
||||||
(defun save-some-buffers (&optional arg pred)
|
(defun save-some-buffers (&optional arg pred)
|
||||||
"Save some modified file-visiting buffers. Asks user about each one.
|
"Save some modified file-visiting buffers. Asks user about each one.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue