[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "variable [in .emacs] is void"
From: |
gebser |
Subject: |
Re: "variable [in .emacs] is void" |
Date: |
Sat, 20 Dec 2003 18:58:31 -0500 (EST) |
At 09:29 (UTC-0600) on 20 Dec 2003 Tim McNamara said:
= gebser@speakeasy.net writes:
=
= > 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 ()
= > (substitute-key-definition
= > 'next-line 'mail-abbrev-next-line
= > mail-mode-map global-map)
= > (substitute-key-definition
= > '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?
=
= Does that need to be (... mail-mode-map global-map t) or (... nil) as
= the case may be?
The notes I made in my .emacs for this item tell me that I cut-n-pasted
it from the emacs manual.... Yep, just found it in the section "Mail
Aliases". That's a naughty manual.
- "variable [in .emacs] is void", gebser, 2003/12/20
- Re: "variable [in .emacs] is void", Tim McNamara, 2003/12/20
- Re: "variable [in .emacs] is void",
gebser <=
- Re: "variable [in .emacs] is void", Karl Pflästerer, 2003/12/20
- Re: "variable [in .emacs] is void", Karl Pflästerer, 2003/12/21
- Re: "variable [in .emacs] is void", Karl Pflästerer, 2003/12/21
- Re: "variable [in .emacs] is void", Karl Pflästerer, 2003/12/22
- Re: "variable [in .emacs] is void", Kevin Rodgers, 2003/12/22