From f0e08e49145b3602fb73390217f94a6a79a5d632 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 11 May 2022 21:16:23 +0200 Subject: [PATCH] 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 179fea786d0..26f3ae02aba 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) -- 2.39.2