]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix regression in edmacro-finish-edit when parsing "none"
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 May 2022 19:16:23 +0000 (21:16 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 May 2022 19:16:36 +0000 (21:16 +0200)
* lisp/edmacro.el (edmacro-finish-edit): Use `kbd' here because
we're comparing the result to a string (bug#55372).

lisp/edmacro.el

index 179fea786d0fed392e658cf724c96da04a0b08e3..26f3ae02ababa444fa83bcb2d83a884438b88b59 100644 (file)
@@ -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)