[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "variable [in .emacs] is void"
From: |
Karl Pflästerer |
Subject: |
Re: "variable [in .emacs] is void" |
Date: |
Sat, 20 Dec 2003 17:24:33 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.4.0 |
An unnamed person wrote:
> When starting emacs, an error is reported in *Messages*:
> Error in init file: Symbol's value as variable is void: mail-mode-map
`mail-mode-map' is defined in sendmail.el.
> The first place in .emacs where that variable occurs is:
[...]
> 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?
Try to wrap your code in an
(eval-after-load "sendmail"
'(substitute-key-definition ...
))
KP
--
Der wahre Weltuntergang ist die Vernichtung des Geistes, der andere hängt von
dem gleichgiltigen Versuch ab, ob nach der Vernichtung des Geistes noch eine
Welt bestehen kann.
Karl Kraus 'Untergang der Welt durch schwarze Magie'
- "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",
Karl Pflästerer <=
- 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