]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix fontification of " in edit-kbd-macro
authorStefan Kangas <stefankangas@gmail.com>
Sat, 2 Sep 2023 07:48:18 +0000 (09:48 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 2 Sep 2023 07:51:29 +0000 (09:51 +0200)
* lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing
keyboard macros containing the " character.

lisp/edmacro.el

index 8734f7cbebee509fd6664b3857e473fb6eb9da9b..0b62bf262bc4341b74bb2bd3880652de274e7f2c 100644 (file)
@@ -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