diff options
| author | Chris Gray <chrismgray@gmail.com> | 2011-11-29 10:58:31 -0700 |
|---|---|---|
| committer | David Bremner <bremner@debian.org> | 2011-11-30 17:19:44 -0800 |
| commit | 9e805b6a5894c4e42deb78ad33523e550d157c75 (patch) | |
| tree | b6015874b8e81b1f2a33848f621074cc372924cb | |
| parent | 3a0a7303368a515acc8e73bd211818e852b7e18c (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.
| -rw-r--r-- | emacs/notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index f15a75b1..89361498 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 |
