From: Chris Gray Date: Tue, 29 Nov 2011 17:58:31 +0000 (-0700) Subject: emacs: Use notmuch-command variable in process-lines. X-Git-Tag: 0.11_rc1~82 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=9e805b6a5894c4e42deb78ad33523e550d157c75;p=obsolete%2Fnotmuch-old 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. --- 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