[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-keywords uses only facename
From: |
Stefan |
Subject: |
Re: font-lock-keywords uses only facename |
Date: |
05 Jun 2004 11:58:19 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> Well, the "eval feature" is used extensively at many places, yes.
> Can you explain a typical usage?
I think a typical usage is when you want to supplement the regexp by
some elisp condition.
Another is when you want to not only add a face but also do a few more
things like put an overlay.
The code is evaluated right after the call to re-search-forward (thus the
match-data is available, ...).
Stefan