[Top][All Lists]

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

"variable [in .emacs] is void"

From: gebser
Subject: "variable [in .emacs] is void"
Date: Sat, 20 Dec 2003 08:16:58 -0500 (EST)

When starting emacs, an error is reported in *Messages*:

Error in init file: Symbol's value as variable is void: mail-mode-map

The first place in .emacs where that variable occurs is:

(add-hook 'mail-setup-hook
          '(lambda ()
               'next-line 'mail-abbrev-next-line
               mail-mode-map global-map)
               'end-of-buffer 'mail-abbrev-end-of-buffer
               mail-mode-map global-map)))

My guess is that some other code is required prior to this.  After emacs 
is loaded and I do "M-x mail", I can evaluate it fine (in .emacs).  

Any ideas?


reply via email to

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