lisp/emacs-lisp/generator.el: Remove redundant font-lock rule

Macro calls are automatically highlighted as keywords, nowadays.
This commit is contained in:
Stefan Monnier 2026-08-17 14:59:38 -04:00
parent 2f6e60c177
commit 0919a727de

View file

@ -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)