emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/iedit 6c6522c7e9 177/301: Minor bugfix: `help-char' need n


From: ELPA Syncer
Subject: [nongnu] elpa/iedit 6c6522c7e9 177/301: Minor bugfix: `help-char' need not be acceptable to `char-to-string'.
Date: Mon, 10 Jan 2022 22:59:00 -0500 (EST)

branch: elpa/iedit
commit 6c6522c7e9ca68ca194ebb0433dc74d51dc8e8b5
Author: Evgeny Roubinchtein <zhenya1007@gmail.com>
Commit: Evgeny Roubinchtein <zhenya1007@gmail.com>

    Minor bugfix: `help-char' need not be acceptable to `char-to-string'.
---
 iedit.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iedit.el b/iedit.el
index c71eee3720..67eb5fda5d 100644
--- a/iedit.el
+++ b/iedit.el
@@ -161,7 +161,7 @@ An example of how to use this variable: todo")
 
 (defvar iedit-help-map
   (let ((map (make-sparse-keymap)))
-    (define-key map (char-to-string help-char) 'iedit-help-for-help)
+    (define-key map (vector (event-convert-list `(,help-char))) 
'iedit-help-for-help)
     (define-key map [help] 'iedit-help-for-help)
     (define-key map [f1] 'iedit-help-for-help)
     (define-key map "?" 'iedit-help-for-help)
@@ -246,7 +246,7 @@ This is like `describe-bindings', but displays only Iedit 
keys."
 (defvar iedit-mode-keymap
   (let ((map (make-sparse-keymap)))
     (set-keymap-parent map iedit-lib-keymap)
-    (define-key map (char-to-string help-char) iedit-help-map)
+    (define-key map (vector (event-convert-list `(,help-char))) iedit-help-map)
     (define-key map [help] iedit-help-map)
     (define-key map [f1] iedit-help-map)
     (define-key map (kbd "M-;") 'iedit-toggle-selection)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]