summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rw-r--r--mailscripts.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index bedb3fc..dc32b82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ mailscripts (0.24-1) UNRELEASED; urgency=medium
* mailscripts.el:
- Enable lexical binding.
+ - notmuch-slurp-debbug: at end, call notmuch-search not notmuch-show.
+ This should avoid leaving the user viewing a thread containing only
+ control messages, with no easy way to get to the bug correspondence.
- mailscripts-detach-head-from-existing-branch can now have value `ask'.
* gmi2email:
- Support commenting out subscriptions.
diff --git a/mailscripts.el b/mailscripts.el
index 234fba2..8519e4f 100644
--- a/mailscripts.el
+++ b/mailscripts.el
@@ -80,8 +80,7 @@ If NO-OPEN, don't open the thread."
"--limit=1"
"--format=text"
"--format-version=4" search))))
- (notmuch-show thread-id nil nil nil
- (concat "*notmuch-show-" search "*")))))
+ (notmuch-search search t thread-id))))
;;;###autoload
(defun notmuch-slurp-debbug-at-point ()