[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locall
Lars Magne Ingebrigtsen
bug#10063: 24.0.91; Making font-lock-mode-hook buffer-local while locally let-bound!
Mon, 21 Nov 2011 20:37:36 +0100
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)
Stefan Monnier <address@hidden> writes:
> BTW, these should not be let-bindings but buffer-local bindings.
> Also the mode-setting and font-locking should be wrapped in
> with-demoted-errors so that errors in them don't prevent showing the
> attachment's content.
> Finally, font-lock-maximum-size should not be set to nil: there is
> nothing special about font-locking attachments that makes it more
> desirable to font-lock them entirely than normal files.
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/