]> git.notmuchmail.org Git - notmuch/commitdiff
contrib: pick: remove unused function
authorMark Walters <markwalters1009@gmail.com>
Mon, 1 Jul 2013 07:54:03 +0000 (08:54 +0100)
committerDavid Bremner <bremner@debian.org>
Thu, 4 Jul 2013 03:37:47 +0000 (00:37 -0300)
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

index 25ea4c2b16c1752f1f45a2f54dd4ceb9c99d83f1..7c313e7a86d4ccdb0eecf495ce245c8ce21f687d 100644 (file)
@@ -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))