emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: (global-font-lock-mode 1) does not bind `font-lock-keywords' in .ema


From: Stefan Monnier
Subject: Re: (global-font-lock-mode 1) does not bind `font-lock-keywords' in .emacs?
Date: Mon, 12 Sep 2005 09:32:05 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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'.

Can't reproduce "it", although I'm not sure exactly what I'm supposed
to reproduce.  I did the following:

  % touch ~/diary
  % emacs -q --eval '(progn (global-font-lock-mode 1) (diary))'

and didn't get any error.  What error do you get?  Can you get a backtrace
for it?

> Adding a (message "Bound: %S" (boundp 'font-lock-keywords))
> verifies that it is indeed unbound after the call to
> `global-font-lock-mode'.

I don't see why that should be a problem,


        Stefan




reply via email to

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