all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.