From dbbcf4a6599ff336d0ceb574cca02bb6f696655a Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 2 Sep 2023 09:48:18 +0200 Subject: [PATCH] Fix fontification of " in edit-kbd-macro * lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing keyboard macros containing the " character. --- lisp/edmacro.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/edmacro.el b/lisp/edmacro.el index 8734f7cbebe..0b62bf262bc 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el @@ -179,7 +179,7 @@ With a prefix argument, format the macro in a more concise way." (setq-local edmacro-finish-hook finish-hook) (setq-local edmacro-store-hook store-hook) (setq-local font-lock-defaults - '(edmacro-mode-font-lock-keywords nil nil nil nil)) + '(edmacro-mode-font-lock-keywords nil nil ((?\" . "w")))) (setq font-lock-multiline nil) (erase-buffer) (insert (substitute-command-keys