[OS X Emacs] Re: How to call "call-process"
David Reitter
david.reitter at gmail.com
Wed May 5 09:17:03 EDT 2010
On May 5, 2010, at 8:38 AM, Jean-Christophe Helary wrote:
>>
>> (define-key osx-key-mode-map (kbd "A-&")
>> (defun call-PetesLookup ()
>> ...))
>>
>> but most people don't do that.
>
> But isn't it more lispy than other ways ?
It is!
In fact I'd prefer it if people used this style for hook functions, rather than lambda terms - because lambda terms are hard if not impossible to remove from a hook variable, while named functions can be removed easily by removing the name with `remove-hook'.
--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
More information about the MacOSX-Emacs
mailing list