aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorChris Gray <chrismgray@gmail.com>2011-11-29 10:58:31 -0700
committerDavid Bremner <bremner@debian.org>2011-11-30 17:19:44 -0800
commit9e805b6a5894c4e42deb78ad33523e550d157c75 (patch)
treeb6015874b8e81b1f2a33848f621074cc372924cb /emacs/notmuch.el
parent3a0a7303368a515acc8e73bd211818e852b7e18c (diff)
emacs: Use notmuch-command variable in process-lines.
The process-lines function calls the notmuch binary. The location of the binary may have been customized by the user, so it is better to use the customized location rather than allowing the process-lines function to search the user's PATH for the binary.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index f15a75b..8936149 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -885,7 +885,7 @@ PROMPT is the string to prompt with."
"subject:" "attachment:")
(mapcar (lambda (tag)
(concat "tag:" tag))
- (process-lines "notmuch" "search" "--output=tags" "*")))))
+ (process-lines notmuch-command "search" "--output=tags" "*")))))
(let ((keymap (copy-keymap minibuffer-local-map))
(minibuffer-completion-table
(completion-table-dynamic