emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 dbbcf4a6599: Fix fontification of " in edit-kbd-macro


From: Stefan Kangas
Subject: emacs-29 dbbcf4a6599: Fix fontification of " in edit-kbd-macro
Date: Sat, 2 Sep 2023 03:51:58 -0400 (EDT)

branch: emacs-29
commit dbbcf4a6599ff336d0ceb574cca02bb6f696655a
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]