[Top][All Lists]

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

Re: Inconsistency in font-lock

From: Stefan Monnier
Subject: Re: Inconsistency in font-lock
Date: Thu, 26 Apr 2007 12:00:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux)

> I wrote a package these days, and I called the function.  The code
> is as in the previous message:

>  (if font-lock-defaults
>      (funcall font-lock-fontify-region-function start end nil))

> Since the issue is the amount of arguments in codes that actually
> call it, I think `nil' here is not necessary.

Calling font-lock-fontify-region-function like that it a mistake.
You should call font-lock-fontify-region instead.  So the argument is moot.


reply via email to

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