emacs-devel
[Top][All Lists]
Advanced

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

Re: hi-lock mode and special buffers


From: Romain Francoise
Subject: Re: hi-lock mode and special buffers
Date: Thu, 24 Nov 2005 19:16:07 +0100

Chong Yidong <address@hidden> writes:

> The bug is "No highlight in compilation-minor-mode when hi-lock-mode
> is on", at

> http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-11/msg00173.html

Thanks.

> The old behavior of hi-lock mode is that it sets the
> font-lock-defaults to '(nil) when it is turned on.

Two questions come to mind:

1. Why does it touch font-lock-defaults since it uses the
   self-sufficient function `font-lock-add-keywords'?

2. Why does it set font-lock-defaults to that value if it has no
   patterns to add anyway?

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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