[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock and text mode
From: |
Oliver Scholz |
Subject: |
Re: font-lock and text mode |
Date: |
Mon, 24 Feb 2003 16:21:49 +0100 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 |
John Paul Wallington <jpw@gnu.org> writes:
> Oliver Scholz <alkibiades@gmx.de> wrote:
>
>> Also it seems to be impossible to add highlighting via
>> font-lock-keywords to text mode.
>>
>> (font-lock-add-keywords nil
>> '(("\\<lirum larum\\>" . font-lock-warning-face)))
>
> Does M-g M-g fontify it ?
Yes, and so does M-x font-lock-fontify-buffer.
Oliver
--
6 Ventôse an 211 de la Révolution
Liberté, Egalité, Fraternité!