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

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

bug#4835: 23.1; Improper `Invalid face reference' messages. Performance


From: Stefan Monnier
Subject: bug#4835: 23.1; Improper `Invalid face reference' messages. Performance degraded.
Date: Fri, 30 Oct 2009 23:26:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> This sure seems like a bug to me. If not, please tell me what the
> problem is.

The problem is that font-lock-keywords's docstring says:

   [...]
   where MATCHER can be either the regexp to search for, or the function
   name to call to make the search (called with one argument, the limit
   [...]

notice that it says "function name" rather than just "function".  So it
can't just be a lambda expression, it has to be a symbol.


        Stefan






reply via email to

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