[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-locking in conf-mode
From: |
Stefan Monnier |
Subject: |
Re: font-locking in conf-mode |
Date: |
Tue, 18 Oct 2005 11:34:36 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I get rather strange results from font-lock when visiting my
> ~/.Xdefaults file. The only things that are highlighted are comments
> starting with `!' and conditionals like `#if WIDTH==1600'. But not
> even the matching `#endif' is recognized.
> conf-xdefaults-mode says that assignments should be highlighted,
> too.
> The problem occurs with `emacs --no-init-file' iff you first evaluate
> (global-font-lock-mode 1)
> The only thing I could figure out is that conf-mode uses the
> obsolete variable font-lock-defaults-alist. But I do not know
> whether this is causing the problem.
For what it's worth, I've changed it to not use that obsolete var any more.
Tell me if it helps,
Stefan