[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(global-font-lock-mode 1) does not bind `font-lock-keywords' in .emacs?
From: |
Jorgen Schaefer |
Subject: |
(global-font-lock-mode 1) does not bind `font-lock-keywords' in .emacs? |
Date: |
Mon, 12 Sep 2005 05:28:24 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Hello!
The following .emacs:
(global-font-lock-mode 1)
(diary)
and an empty ~/diary file will cause Emacs (CVS from 2005-09-12)
to give an error that `font-lock-keywords' is unbound in
`normal-mode'.
Curiously, emacs -q -l .emacs _does_ work.
Adding a (message "Bound: %S" (boundp 'font-lock-keywords))
verifies that it is indeed unbound after the call to
`global-font-lock-mode'. If the code is evaluated anywhere but the
initial .emacs load, the variable _is_ bound.
Greetings,
-- Jorgen
--
((email . "address@hidden") (www . "http://www.forcix.cx/")
(gpg . "1024D/028AF63C") (irc . "nick forcer on IRCnet"))
- (global-font-lock-mode 1) does not bind `font-lock-keywords' in .emacs?,
Jorgen Schaefer <=