From: Juri Linkov Date: Wed, 28 Dec 2022 18:14:43 +0000 (+0200) Subject: * lisp/vc/diff-mode.el (diff-minor-mode-prefix): Replace "ESC" with "\e". X-Git-Tag: emacs-29.0.90~940 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b69bffeec05302529209559dfb2ab24d9e711192;p=emacs.git * lisp/vc/diff-mode.el (diff-minor-mode-prefix): Replace "ESC" with "\e". "ESC" looks like an attempt to use kbd syntax in customization. But actually now 'key-description' is used in 'diff-minor-mode-map' to convert "\e" to "ESC". --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 357ce001b3c..b80337eb742 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -272,8 +272,7 @@ and hunk-based syntax highlighting otherwise as a fallback." (defcustom diff-minor-mode-prefix "\C-c=" "Prefix key for `diff-minor-mode' commands." - :type '(choice (string "ESC") - (string "\C-c=") string)) + :type '(choice (string "\e") (string "\C-c=") string)) (defvar-keymap diff-minor-mode-map :doc "Keymap for `diff-minor-mode'. See also `diff-mode-shared-map'."