[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)


The following .emacs:

  (global-font-lock-mode 1)

and an empty ~/diary file will cause Emacs (CVS from 2005-09-12)
to give an error that `font-lock-keywords' is unbound in

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.

        -- Jorgen

((email . "address@hidden") (www . "http://www.forcix.cx/";)
 (gpg   . "1024D/028AF63C")   (irc . "nick forcer on IRCnet"))

reply via email to

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