[Top][All Lists]

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

Re: Emacs revision #107149

From: Lars Ingebrigtsen
Subject: Re: Emacs revision #107149
Date: Sat, 11 Feb 2012 16:56:53 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> Why, should the case be, would you want to call font-lock-fontify-buffer
> without initialising font lock mode first?  Would this not, perhaps,
> indicate some other problem in mm-inline-text?

mm sets `font-lock-mode-hook' (and friends) to nil to avoid problems
when calling `(font-lock-fontify-buffer)', if I remember correctly.
Since it's that hook that sets
`c-standard-font-lock-fontify-region-function' (which is nil by
default), this breaks when viewing C mode files.

Is there any reason why `c-standard-font-lock-fontify-region-function'
is nil, when this makes just calling `(font-lock-fontify-buffer)' not
work?  All the other modes seem to work fine.

(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome

reply via email to

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