aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-13 21:36:57 +0200
committerLars Ingebrigtsen2019-10-13 21:42:03 +0200
commitb02f0ae995110393f7a8136d01933fb80960fc54 (patch)
tree946ddb1cfec7fa61f51d8eb6ce431e6c6d2ad558 /doc
parent67ed6ee7337d66dc1101e41bc2e67bde5ab0ecd4 (diff)
downloademacs-b02f0ae995110393f7a8136d01933fb80960fc54.tar.gz
emacs-b02f0ae995110393f7a8136d01933fb80960fc54.zip
Add a new action in save-some-buffers to view the buffer
* doc/emacs/files.texi (Save Commands): Document it. * lisp/files.el (save-some-buffers-action-alist): Offer to pop to the buffer and then quit (bug#3625). (save-some-buffers): Implement it. (save-some-buffers--switch-window-callback): New variable.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 9fe1b564a82..c3ede1833b5 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -419,6 +419,9 @@ about other buffers.
419View the buffer that you are currently being asked about. When you exit 419View the buffer that you are currently being asked about. When you exit
420View mode, you get back to @code{save-some-buffers}, which asks the 420View mode, you get back to @code{save-some-buffers}, which asks the
421question again. 421question again.
422@item C-f
423Exit @code{save-some-buffers} and visit the buffer that you are
424currently being asked about.
422@item d 425@item d
423Diff the buffer against its corresponding file, so you can see what 426Diff the buffer against its corresponding file, so you can see what
424changes you would be saving. This calls the command 427changes you would be saving. This calls the command