[PATCH] How to improve the mail handling workflow?

David Edmondson dme at dme.org
Mon Nov 15 00:28:49 PST 2010


On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> > (define-key notmuch-search-mode-map "d"
> >   (lambda ()
> >     "delete thread and advance"
> >     (interactive)
> >     (notmuch-search-add-tag "deleted")
> >     (forward-line)))
> ...
> 
> This only works if you've already loaded notmuch, or you get error
> messages about notmuch-search-mode-map not being known. How do you deal
> with that or does it simply work for you?

`eval-after-load' is your friend.

dme.
-- 
David Edmondson, http://dme.org


More information about the notmuch mailing list