[PATCH 2/2] test: emacs-show: fix use of prefix-arg

Mark Walters markwalters1009 at gmail.com
Wed Oct 9 13:01:26 PDT 2013


The test for elide-toggle functionality set the prefix arg
directly. Now that show uses the interactive specification just set
the argument directly.
---
 test/emacs-show |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/test/emacs-show b/test/emacs-show
index ae70053..fb23db4 100755
--- a/test/emacs-show
+++ b/test/emacs-show
@@ -91,8 +91,7 @@ test_begin_subtest "notmuch-show: elide non-matching messages (w/ prefix arg to
 test_emacs '(let ((notmuch-show-only-matching-messages nil))
 	(notmuch-search "from:lars at seas.harvard.edu and subject:\"Maildir storage\"")
 	(notmuch-test-wait)
-	(let ((current-prefix-arg t))
-	  (notmuch-search-show-thread))
+	(notmuch-search-show-thread t)
 	(notmuch-test-wait)
 	(test-visible-output))'
 test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-elide-non-matching-messages-on
-- 
1.7.9.1



More information about the notmuch mailing list