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

From: Stefan Monnier <[email-masked]>
Date: Fri, 30 Oct 2009 23:26:24 -0400

> 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