From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH 5/5] contrib: pick: remove unused function
Date: Mon, 1 Jul 2013 08:54:03 +0100 [thread overview]
Message-ID: <1372665243-7675-6-git-send-email-markwalters1009@gmail.com> (raw)
In-Reply-To: <1372665243-7675-1-git-send-email-markwalters1009@gmail.com>
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
next prev parent reply other threads:[~2013-07-01 7:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 7:53 [PATCH 0/5] Document notmuch-pick and some bugfixes Mark Walters
2013-07-01 7:53 ` [PATCH 1/5] contrib: pick: add a docstring for the main notmuch-pick function Mark Walters
2013-07-01 7:54 ` [PATCH 2/5] contrib: pick: add docstrings to all defvars Mark Walters
2013-07-01 7:54 ` [PATCH 3/5] contrib: pick: bugfix: make the right variable buffer-local Mark Walters
2013-07-01 7:54 ` [PATCH 4/5] contrib: pick: remove unused variable Mark Walters
2013-07-01 7:54 ` Mark Walters [this message]
2013-07-04 3:47 ` [PATCH 0/5] Document notmuch-pick and some bugfixes David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372665243-7675-6-git-send-email-markwalters1009@gmail.com \
--to=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).