[PATCH 5/5] contrib: pick: remove unused function

Subject: [PATCH 5/5] contrib: pick: remove unused function

Date: Mon, 1 Jul 2013 08:54:03 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


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


Thread: