]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: fix custom queries section customization widget in notmuch-hello
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Sat, 5 May 2012 14:39:47 +0000 (18:39 +0400)
committerDavid Bremner <bremner@debian.org>
Sun, 6 May 2012 22:44:55 +0000 (19:44 -0300)
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.

emacs/notmuch-hello.el
test/emacs-hello

index f10d98d2fa120c7862ed59b46d53a826f30cd9c5..684bedcb51960c6f2a779b7e66f90aa261fbc2ed 100644 (file)
@@ -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")))
index 936d00e61c426b2b307834e3ba44baaafddf0efe..a998dc4fd7b97be802a01dbe4bb4859d31aca4ff 100755 (executable)
@@ -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)