Function: mh-read-address
mh-read-address is an autoloaded and byte-compiled function defined in
mh-alias.el.gz.
Signature
(mh-read-address PROMPT)
Documentation
Read an address from the minibuffer with PROMPT.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-alias.el.gz
;;;###mh-autoload
(defun mh-read-address (prompt)
"Read an address from the minibuffer with PROMPT."
(mh-alias-reload-maybe)
(if (not mh-alias-alist) ; If still no aliases, just prompt
(read-string prompt)
(let* ((minibuffer-local-completion-map mh-alias-read-address-map)
(completion-ignore-case mh-alias-completion-ignore-case-flag)
(the-answer (completing-read-multiple prompt mh-alias-alist nil nil)))
(if (not mh-alias-expand-aliases-flag)
(mapconcat #'identity the-answer ", ")
;; Loop over all elements, checking if in passwd alias or blind first
(mapconcat #'mh-alias-expand the-answer ",\n ")))))