emacs-devel
[Top][All Lists]
Advanced

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

Re: Gnus no longer highlights articles in CVS version


From: Johan Bockgård
Subject: Re: Gnus no longer highlights articles in CVS version
Date: Wed, 22 Aug 2007 17:48:47 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Klaus Zeitler <address@hidden> writes:

> (defun show-tabs () "Show tabs with a slightly changed background"
>   (font-lock-add-keywords nil '(("[\t]"  (0 'tab-face t)))))
> (add-hook 'font-lock-mode-hook 'show-tabs)
>
> This will add '("\t" (0 'tab-face t))' to each buffers font-lock-keywords.
> I have no idea why it breaks syntax highlighting in Gnus.

It activates font lock's fontification mechanism, which removes the
`face' properties that Gnus added "manually".

-- 
Johan Bockgård





reply via email to

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