aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorCharles A. Roelli2018-03-11 11:48:08 +0100
committerCharles A. Roelli2018-03-11 11:48:08 +0100
commit806a0c77490e2f997b3498829c8d63a00e504b6b (patch)
tree593b3e54ce697e51224222fb670ce44cbf0c311e /lisp
parent9bef4ef45732d2f2e2a917dcd5659fb1767a0e5d (diff)
downloademacs-806a0c77490e2f997b3498829c8d63a00e504b6b.tar.gz
emacs-806a0c77490e2f997b3498829c8d63a00e504b6b.zip
Unify documentation on 'save-some-buffers'
* doc/emacs/files.texi (Save Commands): Include some more keys that can be used in 'save-some-buffers'. * lisp/files.el (save-some-buffers): Include the same keys as above, and document all missing ones.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/files.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index b887a34791a..fbd3425cbb5 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5209,9 +5209,14 @@ about certain files that you'd usually rather not save."
5209 5209
5210(defun save-some-buffers (&optional arg pred) 5210(defun save-some-buffers (&optional arg pred)
5211 "Save some modified file-visiting buffers. Asks user about each one. 5211 "Save some modified file-visiting buffers. Asks user about each one.
5212You can answer `y' to save, `n' not to save, `C-r' to look at the 5212You can answer `y' or SPC to save, `n' or DEL not to save, `C-r'
5213buffer in question with `view-buffer' before deciding or `d' to 5213to look at the buffer in question with `view-buffer' before
5214view the differences using `diff-buffer-with-file'. 5214deciding, `d' to view the differences using
5215`diff-buffer-with-file', `!' to save the buffer and all remaining
5216buffers without any further querying, `.' to save only the
5217current buffer and skip the remaining ones and `q' or RET to exit
5218the function without saving any more buffers. `C-h' displays a
5219help message describing these options.
5215 5220
5216This command first saves any buffers where `buffer-save-without-query' is 5221This command first saves any buffers where `buffer-save-without-query' is
5217non-nil, without asking. 5222non-nil, without asking.