]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-address.el
test: Clear the "BROKEN" flag on an existing emacs test
[notmuch] / emacs / notmuch-address.el
index 69a52a295a59404b70bc8a9d8d75e809a083931b..1a7c5771ad9931650bdeed2a9fdab8ed51d81260 100644 (file)
@@ -53,9 +53,11 @@ line."
         (orig (buffer-substring-no-properties beg end))
         (completion-ignore-case t)
         (options (notmuch-address-options orig))
-        (chosen (if (eq (length options) 1)
+        (num-options (length options))
+        (chosen (if (eq num-options 1)
                     (car options)
-                  (completing-read "Address: " (cdr options) nil nil (car options)
+                  (completing-read (format "Address (%s matches): " num-options)
+                                   (cdr options) nil nil (car options)
                                    'notmuch-address-history))))
     (when chosen
       (push chosen notmuch-address-history)