notmuch-show: add optional argument for query context instead of using global binding...
authorDavid Bremner <bremner@unb.ca>
Sat, 5 Dec 2009 02:26:37 +0000 (22:26 -0400)
committerCarl Worth <cworth@cworth.org>
Thu, 10 Dec 2009 18:29:27 +0000 (10:29 -0800)
commit5e8ce15bfb4e836ca3ecd961903230b42830c06e
treea4fa772c840f12da0b3ab0666ef6ec09ba9f1159
parent764e686f8fb685f7da2e797db39cb0184827e0d8
notmuch-show: add optional argument for query context instead of using global binding notmuch-search-query-string

Also modify the one call to notmuch-show in notmuch.el.  This makes
the call (notmuch-show thread-id) will work when there is no binding
for notmuch-search-query-string; e.g. when called from user code
outside notmuch.
notmuch.el