diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-10 16:40:58 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-10 16:41:37 +0200 |
commit | ebaae4480eecb7e4757296d0a2b776ad0b960be8 (patch) | |
tree | 26b6929fa6d1590d60890ddb2ff1ecddd029c8c7 /etc | |
parent | 2656ecff96558ce2d5adf726a8574360175e6740 (diff) | |
download | emacs-ebaae4480eecb7e4757296d0a2b776ad0b960be8.tar.gz |
Add a new command `revert-buffer-quick'
* doc/emacs/files.texi (Reverting): Document it.
* lisp/bindings.el (ctl-x-x-map): Bind `C-x x g' to
`revert-buffer-quick' instead.
* lisp/files.el (revert-buffer-quick-short-answers): New user option.
(revert-buffer-quick): New command (bug#49869).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -310,7 +310,7 @@ search buffer due to too many matches being highlighted. +++ ** A new keymap for buffer actions has been added. The 'C-x x' keymap now holds keystrokes for various buffer-oriented -commands. The new keystrokes are 'C-x x g' ('revert-buffer'), +commands. The new keystrokes are 'C-x x g' ('revert-buffer-quick'), 'C-x x r' ('rename-buffer'), 'C-x x u' ('rename-uniquely'), 'C-x x n' ('clone-buffer'), 'C-x x i' ('insert-buffer'), 'C-x x t' ('toggle-truncate-lines') and 'C-x x f' ('font-lock-update'). @@ -2394,6 +2394,16 @@ This command, called interactively, toggles the local value of ** Miscellaneous ++++ +*** New command 'revert-buffer-quick'. +This is bound to 'C-x x g' and is like `revert-buffer', but prompts +less. + ++++ +*** New user option 'revert-buffer-quick-short-answers'. This +controls how the new 'revert-buffer-quick' (`C-x x g') command +prompts. + --- *** fileloop will now skip missing files instead of signalling an error. |