aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2012-05-05 18:39:47 +0400
committerGravatar David Bremner <bremner@debian.org>2012-05-06 19:44:55 -0300
commit4997ec95719a50a1882ec9b84dcb31e7984a3565 (patch)
tree08f0895c77cc9bccf1e31f938f17f1a0702333f3
parent512df7ec47a378f9807dd2c19db084fe6e4010ad (diff)
emacs: fix custom queries section customization widget in notmuch-hello
The customization widget referred to a non-existing function `notmuch-hello-insert-query-list'. The patch changes it to the correct one - `notmuch-hello-insert-searches'. The relevant test is fixed now.
-rw-r--r--emacs/notmuch-hello.el2
-rwxr-xr-xtest/emacs-hello1
2 files changed, 1 insertions, 2 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index f10d98d2..684bedcb 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -187,7 +187,7 @@ This should only be set by `notmuch-hello-insert-search'.")
:tag "Customized queries section (see docstring for details)"
:type
`(list :tag ""
- (const :tag "" notmuch-hello-insert-query-list)
+ (const :tag "" notmuch-hello-insert-searches)
(string :tag "Title for this section")
(repeat :tag "Queries"
(cons (string :tag "Name") (string :tag "Query")))
diff --git a/test/emacs-hello b/test/emacs-hello
index 936d00e6..a998dc4f 100755
--- a/test/emacs-hello
+++ b/test/emacs-hello
@@ -52,7 +52,6 @@ test_emacs "(let* ((widget (widget-create 'notmuch-hello-tags-section))
test_expect_equal_file OUTPUT $EXPECTED/notmuch-hello-empty-custom-tags-section
test_begin_subtest "Empty custom queries section"
-test_subtest_known_broken
test_emacs "(let* ((widget (widget-create 'notmuch-hello-query-section))
(notmuch-hello-sections (list (widget-value widget))))
(notmuch-hello)