[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Canonical add-hook idiom
From: |
Bob Nelson |
Subject: |
Canonical add-hook idiom |
Date: |
Sat, 15 Nov 2003 05:35:34 GMT |
User-agent: |
tin/1.5.12-20020427 ("Sugar") (UNIX) (Linux/2.4.22 (i686)) |
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
- Canonical add-hook idiom,
Bob Nelson <=