unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Canonical add-hook idiom
@ 2003-11-15  5:35 Bob Nelson
  2003-11-15  8:25 ` Oliver Scholz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bob Nelson @ 2003-11-15  5:35 UTC (permalink / raw)


What is the preferred approach given these examples:

    1). (add-hook 'some-mode-hook (lambda () [...]
    2). (add-hook 'some-mode-hook '(lambda () [...]
    3). (add-hook 'some-mode-hook (function (lambda () [...]
    4). None of the above -- please explain.

-- 
=============================================================================
           Bob Nelson -- Dallas, Texas, USA (nelsonbe@earthlink.net)
          http://www.oldradio.com/archives/nelson/open-computing.html
Good engineering is finding the right wrench to pound in the correct screw

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

end of thread, other threads:[~2003-11-16 23:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-15  5:35 Canonical add-hook idiom Bob Nelson
2003-11-15  8:25 ` Oliver Scholz
2003-11-15 18:27   ` Henrik Enberg
2003-11-15 16:55 ` Jesper Harder
2003-11-16 23:26 ` Stefan Monnier

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