Function: mh-alias-minibuffer-confirm-address
mh-alias-minibuffer-confirm-address is an autoloaded, interactive and
byte-compiled function defined in mh-alias.el.gz.
Signature
(mh-alias-minibuffer-confirm-address)
Documentation
Display the alias expansion if mh-alias-flash-on-comma is non-nil.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-alias.el.gz
;;;###mh-autoload
(defun mh-alias-minibuffer-confirm-address ()
"Display the alias expansion if `mh-alias-flash-on-comma' is non-nil."
(interactive)
(when mh-alias-flash-on-comma
(save-excursion
(let* ((case-fold-search t)
(beg (mh-beginning-of-word))
(the-name (buffer-substring-no-properties beg (point))))
(if (mh-assoc-string the-name mh-alias-alist t)
(message "%s -> %s" the-name (mh-alias-expand the-name))
;; Check if it was a single word likely to be an alias
(if (and (equal mh-alias-flash-on-comma 1)
(not (string-search " " the-name)))
(message "No alias for %s" the-name))))))
(self-insert-command 1))