diff options
| author | David Bremner <david@tethera.net> | 2021-08-29 12:23:29 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-09-11 10:16:47 -0300 |
| commit | a890241138ea468f8a275941b02da39b4e894c1e (patch) | |
| tree | 8f26ee426bf692f34f2fe49377a0038e3c37af56 /emacs/notmuch.el | |
| parent | 06477bce03d09353e92cea7a59134b5ac3facae3 (diff) | |
emacs: wrap process-lines
Initially just set the working directory, to avoid (the implicit)
call-process crashing when the default-directory points to a
non-existent location.
Use of a macro here is over-engineering for this change, but the same
change needs to be applied to several other process creation
primitives.
Diffstat (limited to 'emacs/notmuch.el')
| -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 479b39f1..2ef67c0e 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -940,7 +940,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES." PROMPT is the string to prompt with." (let* ((all-tags (mapcar (lambda (tag) (notmuch-escape-boolean-term tag)) - (process-lines notmuch-command "search" "--output=tags" "*"))) + (notmuch--process-lines notmuch-command "search" "--output=tags" "*"))) (completions (append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:" "subject:" "attachment:") |
