* font-lock-add-keywords in outline-mode
@ 2007-10-09 4:56 Sebastian Tennant
0 siblings, 0 replies; only message in thread
From: Sebastian Tennant @ 2007-10-09 4:56 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
When I eval
(font-lock-add-keywords nil '("<regexp>" . font-lock-variable-name-face))
in a buffer in outline mode, the pattern matched by the <regexp> is
highlighted as intended, but outline-mode's headers; for example:
** test data
are no longer highlighted.
Presumably this is because the <regexp> I've added somehow overides
the regexp for the outline headers ("^\\*.*" maybe).
Is there an easy way to avoid this and still use the handy
font-lock-add-keyowrds function?
Sebastian
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-09 4:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 4:56 font-lock-add-keywords in outline-mode Sebastian Tennant
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.