diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-13 21:36:57 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-13 21:42:03 +0200 |
commit | b02f0ae995110393f7a8136d01933fb80960fc54 (patch) | |
tree | 946ddb1cfec7fa61f51d8eb6ce431e6c6d2ad558 /doc/emacs/files.texi | |
parent | 67ed6ee7337d66dc1101e41bc2e67bde5ab0ecd4 (diff) | |
download | emacs-b02f0ae995110393f7a8136d01933fb80960fc54.tar.gz emacs-b02f0ae995110393f7a8136d01933fb80960fc54.tar.bz2 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/emacs/files.texi')
-rw-r--r-- | doc/emacs/files.texi | 3 |
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. View the buffer that you are currently being asked about. When you exit View mode, you get back to @code{save-some-buffers}, which asks the question again. +@item C-f +Exit @code{save-some-buffers} and visit the buffer that you are +currently being asked about. @item d Diff the buffer against its corresponding file, so you can see what changes you would be saving. This calls the command |