|
From: | Anders Lindgren |
Subject: | Re: compilation-mode, face, font-lock-face |
Date: | Thu, 2 Feb 2017 21:43:18 +0100 |
OK, I can understand that if there is no display then there
_cannot_ be any font-locking, so the `noninteractive' test
makes sense, I guess.
Even that is questionable -- there are many (unfortunate) situations in which font-lock is used to apply syntactically meaningful properties to the text that might then be used by Lisp programs. It's fine if font-lock skips configuring the lack of display, of course, and it could be OK for it to skip setting the face property (since a program that depended on examining it could be said to be broken). But even then, what if a non-interactive Emacs is supposed to be running tests of font-lock itself?
But even then, what if a non-interactive Emacs is supposed to be running tests of font-lock itself?
[Prev in Thread] | Current Thread | [Next in Thread] |