[notmuch] [Orgmode] Notmuch: An emacs interface for fast global search and tagging of email
jed at 59A2.org
Thu Dec 10 04:26:25 PST 2009
On Wed, 09 Dec 2009 12:00:21 -0800, Carl Worth <cworth at cworth.org> wrote:
> 1. Rewriting the code to not use apply-partially
1b. Use apply-partially
(defun apply-partially (fun &rest args)
"Return a function that is a partial application of FUN to ARGS.
ARGS is a list of the first N arguments to pass to FUN.
The result is a new function which does the same as FUN, except that
the first N arguments are fixed at the values with which this function
(lexical-let ((fun fun) (args1 args))
(lambda (&rest args2) (apply fun (append args1 args2)))))
More information about the notmuch