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