[Top][All Lists]

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

bug#14325: 24.3; cc-mode does not initialize correctly w/ -batch

From: Glenn Morris
Subject: bug#14325: 24.3; cc-mode does not initialize correctly w/ -batch
Date: Wed, 01 May 2013 13:59:49 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Alan Mackenzie wrote:

> However, you'll probably prefer to carry on with using Font Lock Mode
> uninitialised.  ;-)  I think Glenn's patch achieves this painlessly.

That patch seems like TRT to me anyway.

What problem is c-standard-font-lock-fontify-region-function supposed to
solve? Someone changing the default value of
font-lock-fontify-region-function in between font-lock-mode-hook being
run and font-lock-fontify-region being called?
That shouldn't happen, only the buffer-local value should ever be
changed. It's not a user-variable.
(I actually think you could safely just call
font-lock-default-fontify-region .)

reply via email to

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