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

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

Date: Wed, 9 Oct 2013 21:01:26 +0100

To: notmuch@notmuchmail.org

Cc:

From: Mark Walters


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@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


Thread: