diff options
| author | Stefan Kangas | 2023-09-02 09:48:18 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-09-02 09:51:29 +0200 |
| commit | dbbcf4a6599ff336d0ceb574cca02bb6f696655a (patch) | |
| tree | 597db91c3dbc1373d4bb15b6c0edeeccf23c20dc | |
| parent | 2137fdfd55006598da70807361ac7b4b8e44ad22 (diff) | |
| download | emacs-dbbcf4a6599ff336d0ceb574cca02bb6f696655a.tar.gz emacs-dbbcf4a6599ff336d0ceb574cca02bb6f696655a.zip | |
Fix fontification of " in edit-kbd-macro
* lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing
keyboard macros containing the " character.
| -rw-r--r-- | lisp/edmacro.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 179 | (setq-local edmacro-finish-hook finish-hook) | 179 | (setq-local edmacro-finish-hook finish-hook) |
| 180 | (setq-local edmacro-store-hook store-hook) | 180 | (setq-local edmacro-store-hook store-hook) |
| 181 | (setq-local font-lock-defaults | 181 | (setq-local font-lock-defaults |
| 182 | '(edmacro-mode-font-lock-keywords nil nil nil nil)) | 182 | '(edmacro-mode-font-lock-keywords nil nil ((?\" . "w")))) |
| 183 | (setq font-lock-multiline nil) | 183 | (setq font-lock-multiline nil) |
| 184 | (erase-buffer) | 184 | (erase-buffer) |
| 185 | (insert (substitute-command-keys | 185 | (insert (substitute-command-keys |