[PATCH 2/3] emacs: whitespace-cleanup and indent-region for emacs/*.el files

Austin Clements amdragon at MIT.EDU
Mon Jan 16 20:32:00 PST 2012


Cleanup is the type of pain that should only be suffered once, so I'd
be much happier with this if there was an accompanying git hook that
prevented more mis-formatted code from slipping in.

Quoth Tomi Ollila on Jan 16 at 11:04 am:
> diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
> index 00ed589..7b63348 100644
> --- a/emacs/notmuch-lib.el
> +++ b/emacs/notmuch-lib.el
> @@ -143,7 +143,7 @@ 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
>  was called."
>     (lexical-let ((fun fun) (args1 args))
> -     (lambda (&rest args2) (apply fun (append args1 args2))))))
> +		(lambda (&rest args2) (apply fun (append args1 args2))))))

Ack.  What happened here?  This shows up in at least one other place,
too.  I'm betting you need to load cl in some form to get the
indentation rule for lexical-let.


More information about the notmuch mailing list