[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-keywords: matcher function not working
From: |
Stefan Monnier |
Subject: |
Re: font-lock-keywords: matcher function not working |
Date: |
Fri, 28 Jun 2013 15:30:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> However, doesn't my matcher function search already?
No, it doesn't.
> It checks the current position first to return NIL for a failed match.
That's not a search. It just says "doesn't match here" without saying
anything about the rest of the text until ^end, whereas a nil return
value is supposed to mean "nothing found between here and ^end" (just
as a nil return value of `re-search-forward').
Stefan