]> git.eshelyaron.com Git - emacs.git/commit
Avoid font-lock reset in `gnus-message-citation-mode'
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 18 Jan 2024 15:24:39 +0000 (07:24 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 18 Jan 2024 15:25:52 +0000 (07:25 -0800)
commit2c887f497c723c2397888e2f406faa4de3a8208a
tree3964f1bc987299df4eb12b1d3243c24019b2f5df
parentd4d5830f8a071a3634926adeeaedaf573d49a063
Avoid font-lock reset in `gnus-message-citation-mode'

* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Use
`font-lock-add-keywords' and `font-lock-remove-keywords' instead of
modifying font-lock defaults.  Make no font-lock changes until
`font-lock-mode' is active.

Thanks to Morgan Willcock
lisp/gnus/gnus-cite.el