diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-02 09:44:44 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-02 09:44:44 +0100 |
commit | 7d15fa008af774789a91d7242055dc87497df66f (patch) | |
tree | fc8a13d1ca847d191bc246d8b19bc386cf2d05ad /lisp/bindings.el | |
parent | 56804edc835b5b48f3bd6f89763c13d5e3ae3124 (diff) | |
download | emacs-7d15fa008af774789a91d7242055dc87497df66f.tar.gz emacs-7d15fa008af774789a91d7242055dc87497df66f.tar.bz2 emacs-7d15fa008af774789a91d7242055dc87497df66f.zip |
Bind 'revert-buffer' to 'C-x g' globally
* lisp/bindings.el: Bind 'revert-buffer' to 'C-x g' globally.
* doc/emacs/files.texi: Replace 'M-x revert-buffer' with 'C-x g'.
* etc/NEWS: Document the change (bug#46151).
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 43b62f9bbfc..9ea188d1a00 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -1413,6 +1413,8 @@ if `inhibit-field-text-motion' is non-nil." (define-key ctl-x-map "z" 'repeat) +(define-key ctl-x-map "g" #'revert-buffer) + (define-key esc-map "\C-l" 'reposition-window) (define-key ctl-x-4-map "a" 'add-change-log-entry-other-window) |