aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-10-24 11:19:05 -0400
committerGravatar David Bremner <david@tethera.net>2013-11-08 20:23:03 -0400
commitddc44ae0d02c7f92640b5e560fca5fddbd7b6c98 (patch)
tree301d8639bea0b85d381b126987dee043bbb5c280 /emacs/notmuch.el
parentc7e18288ae677b50344aed7d8f1746d1c72a30c2 (diff)
emacs: Move `notmuch-call-notmuch-process' to notmuch-lib
Previously, this was in notmuch.el, but all of the other notmuch call wrappers were in notmuch-lib.el. Move `notmuch-call-notmuch-process' to live with its friends. This happens to fix a missing dependency from notmuch-tag.el, which required notmuch-lib, but not notmuch.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el11
1 files changed, 0 insertions, 11 deletions
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)))