]> git.cworth.org Git - notmuch/commitdiff
emacs/address: rewrite docstring for n-a-selection-function
authorDavid Bremner <david@tethera.net>
Fri, 6 Oct 2023 23:01:09 +0000 (20:01 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 6 Oct 2023 23:37:16 +0000 (20:37 -0300)
The previous version essentially repeated the source code, and
generated a compiler warning.

emacs/notmuch-address.el

index 1a4cdda22b95ffee9434b589f0912700b8c22b02..f756254cb8513ec062ca692299fbb39e4f683fe1 100644 (file)
@@ -153,8 +153,7 @@ matching `notmuch-address-completion-headers-regexp'."
 ;;; Setup
 
 (defun notmuch-address-selection-function (prompt collection initial-input)
-  "Call (`completing-read'
-      PROMPT COLLECTION nil nil INITIAL-INPUT 'notmuch-address-history)"
+  "Default address selection function: delegate to completing read."
   (completing-read
    prompt collection nil nil initial-input 'notmuch-address-history))