[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock question
From: |
Stefan Monnier |
Subject: |
Re: font-lock question |
Date: |
Thu, 24 Jul 2008 11:11:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> For many years I had the following statement in my .emacs file:
> (defun show-tabs () "Show tabs with a slightly changed background"
> (font-lock-add-keywords nil '(("\t" (0 'tab-face t))) t))
> (add-hook 'font-lock-mode-hook 'show-tabs)
> This has worked without any problems up to 22.1.
> In version 22.2 and 23 I do have problems with syntax highlighting due
> to these few lines above, e.g. when I try M-x list-faces-display
> all colors are gone.
> So here's my question. Did that only work by accident in older versions?
> Maybe I have to change this code slightly for 22.2 and CVS version, but I
> can't see what's wrong, when I look at the docu for font-lock-add-keywords.
Yes, looks like a bug to me,
Stefan