emacs-devel
[Top][All Lists]
Advanced

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

Re: (font-lock-mode 1) does not always force font-lock


From: Stefan Monnier
Subject: Re: (font-lock-mode 1) does not always force font-lock
Date: 26 Oct 2003 14:07:31 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> ;; Don't turn on Font Lock mode if we don't have a display (we're running a
>> ;; batch job) or if the buffer is invisible (the name starts with a space).
>> (when (or noninteractive (eq (aref (buffer-name) 0) ?\ ))
>> (setq font-lock-mode nil))

> I propose removing the buffer-name check, at least when the argument
> to font-lock-mode is positive.

I always thought that the whole thing should be removed (i.e. including the
noninteractive check: after all, you might want to use it in batch with
ps-print or htmlize), but I never cared enough to try and convince the
rest of the developers.
So for what it's worth, I completely agree,


        Stefan




reply via email to

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