help-gnu-emacs
[Top][All Lists]
Advanced

[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: Sun, 21 Dec 2003 21:07:10 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.4.0

An unnamed person wrote:

> (eval-after-load "sendmail"
>   (add-hook 'mail-setup-hook
    ^

Here is the error.  You need to quote that list.
[...]

so it becomes:

(eval-after-load "sendmail"
   '(add-hook 'mail-setup-hook ...

> Sometimes that works with this variable, other times it doesn't.  My
> almost educated guess is that it depends on whether or not I've first
> opened a mail session (M-x mail).

Right.


   KP

-- 
"But it has nothing to do with what a _value_ is.  This has to do with
whether you pass whatever-a-value-is or wherever-whatever-is-a-value-is
whenever you pass an argument to a function.  (Call it the Shakira
theory. :)"    [Erik Naggum in cllisp über call-by-value und call-by-reference]


reply via email to

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