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.
This commit is contained in:
Mark Walters 2013-07-01 08:54:03 +01:00 committed by David Bremner
parent 3d772a0a85
commit 1ed9db6c30

View file

@ -764,15 +764,6 @@ Complete list of currently available key bindings:
(insert (format " (process returned %d)" exit-status))) (insert (format " (process returned %d)" exit-status)))
(insert "\n"))))))))) (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) (defun notmuch-pick-process-filter (proc string)
"Process and filter the output of \"notmuch show\" (for pick)" "Process and filter the output of \"notmuch show\" (for pick)"
(let ((results-buf (process-buffer proc)) (let ((results-buf (process-buffer proc))