[PATCH 2/3] emacs: add a stub entry to notmuch-pick in notmuch.el

Subject: [PATCH 2/3] emacs: add a stub entry to notmuch-pick in notmuch.el

Date: Wed, 11 Jul 2012 19:57:06 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


This adds the stub entry to notmuch-pick.el to notmuch.el. We call
notmuch-pick-init when notmuch starts up; by default this function
does nothing but if the user replaces the file by the "proper" one
from contrib then this will setup key binding for the various entries
to notmuch-pick.
---
 emacs/notmuch.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index fabb7c0..2d32baa 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -58,6 +58,7 @@
 (require 'notmuch-hello)
 (require 'notmuch-maildir-fcc)
 (require 'notmuch-message)
+(require 'notmuch-pick)
 
 (defcustom notmuch-search-result-format
   `(("date" . "%12s ")
@@ -1032,6 +1033,7 @@ current search results AND that are tagged with the given tag."
 (defun notmuch ()
   "Run notmuch and display saved searches, known tags, etc."
   (interactive)
+  (notmuch-pick-init)
   (notmuch-hello))
 
 (defun notmuch-interesting-buffer (b)
-- 
1.7.9.1


Thread: