[PATCH 5/5] contrib: pick: remove unused function
Mark Walters
markwalters1009 at gmail.com
Mon Jul 1 00:54:03 PDT 2013
The function notmuch-pick-show-error was used before Austin's improved
error handling. It is now redundant so remove.
---
contrib/notmuch-pick/notmuch-pick.el | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
index 25ea4c2..7c313e7 100644
--- a/contrib/notmuch-pick/notmuch-pick.el
+++ b/contrib/notmuch-pick/notmuch-pick.el
@@ -764,15 +764,6 @@ Complete list of currently available key bindings:
(insert (format " (process returned %d)" exit-status)))
(insert "\n")))))))))
-
-(defun notmuch-pick-show-error (string &rest objects)
- (save-excursion
- (goto-char (point-max))
- (insert "Error: Unexpected output from notmuch search:\n")
- (insert (apply #'format string objects))
- (insert "\n")))
-
-
(defun notmuch-pick-process-filter (proc string)
"Process and filter the output of \"notmuch show\" (for pick)"
(let ((results-buf (process-buffer proc))
--
1.7.9.1
More information about the notmuch
mailing list