[Top][All Lists]

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

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


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'

reply via email to

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