aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-12-18 04:21:21 +0400
committerGravatar David Bremner <bremner@debian.org>2011-12-20 07:42:31 -0400
commit59adb2da193efef806b37e2c85981024a39ee2e3 (patch)
treeacac11045121f9b702075dfe31e7f48054181199 /test
parent9928b5b50f44d66d02f422d1f6b6a1bca72a4580 (diff)
emacs: do not call `notmuch-hello-mode' on update
`notmuch-hello' should call `notmuch-hello-mode' function only when run for the first time. But before the change, `notmuch-hello' used `kill-all-local-variables' to remove editable widgets fields. This caused the major mode to be reset, and `notmuch-hello-mode' to be called every time. The patch manually deletes all editable widget fields and removes `kill-all-local-variables' call.
Diffstat (limited to 'test')
-rwxr-xr-xtest/emacs1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/emacs b/test/emacs
index b4c24448..dffad0fc 100755
--- a/test/emacs
+++ b/test/emacs
@@ -486,7 +486,6 @@ counter=$(test_emacs \
test_expect_equal "$counter" 1
test_begin_subtest "notmuch-hello-mode hook is not called on updates"
-test_subtest_known_broken
counter=$(test_emacs \
'(let ((notmuch-hello-mode-hook-counter 0))
(kill-buffer "*notmuch-hello*")