]> git.notmuchmail.org Git - notmuch/commit
emacs: support "notmuch new" as a notmuch-poll-script
authorJani Nikula <jani@nikula.org>
Mon, 12 Dec 2011 20:50:04 +0000 (22:50 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 15 Dec 2011 04:20:11 +0000 (00:20 -0400)
commited56fee6e5e8c114378f2d2def5395caab5d66a6
tree68b4c9d1eb7fadf6cc1560c65a87cb87d86a5d6c
parenta06f7b6737de04b118af93cc247b052f6396fe0c
emacs: support "notmuch new" as a notmuch-poll-script

Support nil value for notmuch-poll-script to run "notmuch new" instead of
an external script, and make this the new default. "notmuch new" is run
using the configured notmuch-command.

This allows taking better advantage of the "notmuch new" hooks from emacs
without intermediate scripts.

Signed-off-by: Jani Nikula <jani@nikula.org>
emacs/notmuch.el