[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Best way to detect font-lock mode is on?
From: |
Stefan Monnier |
Subject: |
Re: Best way to detect font-lock mode is on? |
Date: |
Wed, 12 Jan 2011 10:45:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> No matter what is the test, your logic is not enough. In cperl-mode,
> I pepper all such functions with
> (cperl-update-fontification pos)
Yes, in Emacs-24, the syntactic fontification has been taken out of
font-lock, and syntax-ppss updates it on-demand, just like cperl has
been doing for ages.
Stefan
Re: Best way to detect font-lock mode is on?, Ilya Zakharevich, 2011/01/11