1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Fix fontification of " in edit-kbd-macro

* lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing
keyboard macros containing the " character.
This commit is contained in:
Stefan Kangas 2023-09-02 09:48:18 +02:00
parent 2137fdfd55
commit dbbcf4a659

View 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