diff options
author | Juri Linkov <juri@linkov.net> | 2022-12-28 20:14:43 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-12-28 20:14:43 +0200 |
commit | b69bffeec05302529209559dfb2ab24d9e711192 (patch) | |
tree | c1b999c2eb0f43fc132b2498a66aa1bfcd3217fa | |
parent | 9263847ab769577c528036c6a58dff9b16f0828f (diff) | |
download | emacs-b69bffeec05302529209559dfb2ab24d9e711192.tar.gz |
* 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".
-rw-r--r-- | lisp/vc/diff-mode.el | 3 |
1 files changed, 1 insertions, 2 deletions
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'." |