help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outline minor mode font lock


From: Stefan Monnier
Subject: Re: outline minor mode font lock
Date: 15 Jun 2003 10:26:17 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Anyone know how to get the different levels of outline-minor-mode
> colorized like outline major mode?

I guess something like

   (add-hook 'outline-minor-mode-hook
     (lambda () (font-lock-add-keywords nil outline-font-lock-keywords)))

but it might depend on the major mode with which you use it, with the
version of Emacs you use, on the way you turn on font-lock-mode, on
how you want to the major-mode patterns and the outline-mode patterns
to interact, ...
Feel free to give more info.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]