[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock basics?
From: |
Francis Litterio |
Subject: |
Re: font-lock basics? |
Date: |
Mon, 31 Jan 2005 10:43:12 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) |
Stefan Monnier wrote:
>> (progn
>> (font-lock-mode -1)
>> (kill-all-local-variables)
>> (font-lock-add-keywords nil '(("high" . font-lock-keyword-face)))
>> (font-lock-mode t))
>
> Try to set font-lock-defaults instead.
That begs the question: What is wrong with the above code? According to
the docstrings for the functions called above, it should work. Why
doesn't it?
--
Francis Litterio
franl <at> world . std . com