[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 b69bffeec0: * lisp/vc/diff-mode.el (diff-minor-mode-prefix): Re
From: |
Juri Linkov |
Subject: |
emacs-29 b69bffeec0: * lisp/vc/diff-mode.el (diff-minor-mode-prefix): Replace "ESC" with "\e". |
Date: |
Wed, 28 Dec 2022 13:15:12 -0500 (EST) |
branch: emacs-29
commit b69bffeec05302529209559dfb2ab24d9e711192
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* 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".
---
lisp/vc/diff-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 357ce001b3..b80337eb74 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'."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 b69bffeec0: * lisp/vc/diff-mode.el (diff-minor-mode-prefix): Replace "ESC" with "\e".,
Juri Linkov <=