emacs-diffs
[Top][All Lists]
Advanced

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

master f0e08e4914: Fix regression in edmacro-finish-edit when parsing "n


From: Lars Ingebrigtsen
Subject: master f0e08e4914: Fix regression in edmacro-finish-edit when parsing "none"
Date: Wed, 11 May 2022 15:16:42 -0400 (EDT)

branch: master
commit f0e08e49145b3602fb73390217f94a6a79a5d632
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix regression in edmacro-finish-edit when parsing "none"
    
    * lisp/edmacro.el (edmacro-finish-edit): Use `kbd' here because
    we're comparing the result to a string (bug#55372).
---
 lisp/edmacro.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 179fea786d..26f3ae02ab 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -251,8 +251,7 @@ or nil, use a compact 80-column format."
                   ((looking-at "Key:\\(.*\\)$")
                    (when edmacro-store-hook
                      (error "\"Key\" line not allowed in this context"))
-                   (let ((key (edmacro-parse-keys
-                               (match-string 1))))
+                   (let ((key (kbd (match-string 1))))
                      (unless (equal key "")
                        (if (equal key "none")
                            (setq no-keys t)



reply via email to

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