unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* hooks and mail
@ 2003-11-30 16:54 Guldo K
  2003-11-30 18:59 ` François Fleuret
  0 siblings, 1 reply; 4+ messages in thread
From: Guldo K @ 2003-11-30 16:54 UTC (permalink / raw)


Hello.
I'm sorry, but I can't understand how do hooks work.
I'd like to set reply-to to a certain value;
I wrote:
(add-hook 'vm-mail-hook
  '(lambda()
    (setq mail-default-reply-to "me@host.xyz")
  )
)

but it does not work.
I tried some other sintaxes, with no luck.
How can it be achieved?
What's that lambda() I found in emacs manual,
I can't understand.

Can't the value of a variable be used in a hook?
Such as '(setq variable 'other-var-value) ?

Thanks,

Guldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-12-01 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-30 16:54 hooks and mail Guldo K
2003-11-30 18:59 ` François Fleuret
2003-11-30 23:00   ` Guldo K
2003-12-01 21:50     ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).