mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
lisp/emacs-lisp/generator.el: Remove redundant font-lock rule
Macro calls are automatically highlighted as keywords, nowadays.
This commit is contained in:
parent
2f6e60c177
commit
0919a727de
|
|
@ -792,10 +792,11 @@ Return the value with which ITERATOR finished iteration."
|
|||
(font-lock-add-keywords
|
||||
'emacs-lisp-mode
|
||||
'(("(\\(iter-defun\\)\\_>\\s *\\(\\(?:\\sw\\|\\s_\\)+\\)?"
|
||||
(1 font-lock-keyword-face nil t)
|
||||
(2 font-lock-function-name-face nil t))
|
||||
("(\\(iter-\\(?:next\\|lambda\\|yield\\|yield-from\\)\\)\\_>"
|
||||
(1 font-lock-keyword-face nil t))))))
|
||||
;; (1 'font-lock-keyword-face nil t)
|
||||
(2 'font-lock-function-name-face nil t))
|
||||
;; ("(\\(iter-\\(?:next\\|lambda\\|yield\\|yield-from\\)\\)\\_>"
|
||||
;; (1 'font-lock-keyword-face nil t))
|
||||
))))
|
||||
|
||||
(provide 'generator)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue