X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=b11ef60bcfa55cb1b42c61280d6ab0762d09c89c;hb=662e097984780165e57c7fa1f0ddf450dfeab83d;hp=2c9a07c11a248744de0c0b65ee057940dc18b805;hpb=00b3ee4f82ed94125f6789ba7bdd88b98ed248ef;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 2c9a07c1..b11ef60b 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -465,17 +465,6 @@ If BARE is set then do not prefix with \"thread:\"" (let ((message-id (notmuch-search-find-thread-id))) (notmuch-mua-new-reply message-id prompt-for-sender nil))) -(defun notmuch-call-notmuch-process (&rest args) - "Synchronously invoke \"notmuch\" with the given list of arguments. - -If notmuch exits with a non-zero status, output from the process -will appear in a buffer named \"*Notmuch errors*\" and an error -will be signaled." - (with-temp-buffer - (let ((status (apply #'call-process notmuch-command nil t nil args))) - (notmuch-check-exit-status status (cons notmuch-command args) - (buffer-string))))) - (defun notmuch-search-set-tags (tags &optional pos) (let ((new-result (plist-put (notmuch-search-get-result pos) :tags tags))) (notmuch-search-update-result new-result pos)))