[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adding font-lock rules
From: |
Sven Utcke |
Subject: |
adding font-lock rules |
Date: |
01 Nov 2002 15:03:24 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Hi,
I would like to add my own font-look rules to an existing mode along
the lines of:
* in mode xxx, whenever you see yyy, colour it red.
* in mode xxx, whenever you see zzz, colour it blue.
etc --- that is, I do _not_ want to simply introduce new keywords,
which are than coloured with font-lock-keyword-face. I know how to
write my own mode doing this (including the keyword-face), but how do
I add this to an existing mode?
Thanks
Sven
--
_ __ The Cognitive Systems Group
| |/ /___ __ _ ___ University of Hamburg
| ' </ _ \/ _` (_-< phone: +49 (0)40 42883-2576 Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/ fax : +49 (0)40 42883-2572 D-22527 Hamburg
|___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html
- adding font-lock rules,
Sven Utcke <=