diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-25 07:44:29 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-25 07:44:29 +0100 |
commit | a10c74fbea46d5299e19167248383c69fd30648c (patch) | |
tree | 7184f1dd0d9401a6798d8a66d51fce1077bed797 /test | |
parent | 9503f8d96cc89fa89bb68e183c79f0d9cb1b4d32 (diff) | |
download | emacs-a10c74fbea46d5299e19167248383c69fd30648c.tar.gz |
Fontify special forms and macros the same
* lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Handle
special forms and macros the same way (bug#43265). This makes
things like (setq a '(if a b)) be fontified correctly (i.e., not
fontified as a keyword).
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/progmodes/elisp-mode-tests.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/progmodes/elisp-mode-tests.el b/test/lisp/progmodes/elisp-mode-tests.el index e84184ff07d..badcad670c2 100644 --- a/test/lisp/progmodes/elisp-mode-tests.el +++ b/test/lisp/progmodes/elisp-mode-tests.el @@ -871,7 +871,6 @@ to (xref-elisp-test-descr-to-target xref)." 'font-lock-keyword-face))) (ert-deftest test-elisp-font-keywords-3 () - :expected-result :failed ; FIXME bug#43265 (should (eq (test--font '(setq a '(if when zot)) "(\\(if\\)") nil))) |