If you have made extensive changes to a file-visiting buffer and
then change your mind, you can @dfn{revert} the changes and go back to
-the saved version of the file. To do this, type @kbd{M-x
-revert-buffer}. Since reverting unintentionally could lose a lot of
-work, Emacs asks for confirmation first.
+the saved version of the file. To do this, type @kbd{C-x g}. Since
+reverting unintentionally could lose a lot of work, Emacs asks for
+confirmation first.
The @code{revert-buffer} command tries to position point in such a
way that, if the file was edited only slightly, you will be at
still applies for shorter search strings, which avoids flicker in the
search buffer due to too many matches being highlighted.
++++
+** 'revert-buffer' is now bound to 'C-x g' globally.
+
\f
* Editing Changes in Emacs 28.1
(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)