From 1ed9db6c30ac129b1a296da56be3aa58aaa205eb Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Mon, 1 Jul 2013 08:54:03 +0100 Subject: [PATCH] contrib: pick: remove unused function 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 file changed, 9 deletions(-) diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el index 25ea4c2b..7c313e7a 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))