emacs/address: rewrite docstring for n-a-selection-function

The previous version essentially repeated the source code, and
generated a compiler warning.
This commit is contained in:
David Bremner 2023-10-06 20:01:09 -03:00
parent c273266503
commit 5de7beec16

View 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))