[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: |
Mon, 22 Dec 2003 10:14:45 -0500 (EST) |
At 21:07 (UTC+0100) on Sun, 21 Dec 2003 Karl Pflästerer said:
= 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 ...
Great. That works. Now, I have some other functions which also use
mail-mode-map. Can I wrap them in the same '(add-hook ...? Or do I
need to duplicate the lines for each? ... like this?
(eval-after-load "sendmail"
'(add-hook 'mail-setup-hook
'(define-key mail-mode-map mail-foo...
(eval-after-load "sendmail"
'(add-hook 'mail-setup-hook
'(define-key mail-mode-map mail-bar...
(eval-after-load "sendmail"
'(add-hook 'mail-setup-hook
'(define-key mail-mode-map foo-be-do-be-do...
Even tidier and more readable, can I put all the sendmail-dependent
defines in a separate (possibly byte-compiled) file and then have
something like an "include" in my emacs evaluate them all subject to an
(eval-after-load "sendmail" ...)?
tnx++;
ken
- "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, 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",
gebser <=
- Re: "variable [in .emacs] is void", Karl Pflästerer, 2003/12/22
- Re: "variable [in .emacs] is void", Kevin Rodgers, 2003/12/22
- Re: "variable [in .emacs] is void", Kevin Rodgers, 2003/12/23
- Re: "variable [in .emacs] is void", Kevin Rodgers, 2003/12/23