Function: message-display-abbrev
message-display-abbrev is an interactive and byte-compiled function
defined in message.el.gz.
Signature
(message-display-abbrev &optional CHOOSE)
Documentation
Display the next possible abbrev for the text before point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defun message-display-abbrev (&optional choose)
"Display the next possible abbrev for the text before point."
(interactive (list t) message-mode)
(when (message--in-tocc-p)
(let* ((end (point))
(start (save-excursion
(and (re-search-backward "[\n\t ]" nil t)
(1+ (point)))))
(word (when start (buffer-substring start end)))
(match (when (and word
(not (zerop (length word))))
(ecomplete-display-matches 'mail word choose))))
(when (and choose match)
(delete-region start end)
(insert match)))))