summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-10 16:40:58 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-10 16:41:37 +0200
commitebaae4480eecb7e4757296d0a2b776ad0b960be8 (patch)
tree26b6929fa6d1590d60890ddb2ff1ecddd029c8c7 /etc
parent2656ecff96558ce2d5adf726a8574360175e6740 (diff)
downloademacs-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/NEWS12
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 378a32e2d35..34e4cd73a7b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.