Function: mh-display-completion-list
mh-display-completion-list is a macro defined in mh-compat.el.gz.
Signature
(mh-display-completion-list COMPLETIONS &optional COMMON-SUBSTRING)
Documentation
Display the list of COMPLETIONS.
See documentation for display-completion-list for a description of the
arguments COMPLETIONS.
The optional argument COMMON-SUBSTRING, if non-nil, should be a string
specifying a common substring for adding the faces
completions-first-difference and completions-common-part to
the completions.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-compat.el.gz
(defmacro mh-display-completion-list (completions &optional common-substring)
"Display the list of COMPLETIONS.
See documentation for `display-completion-list' for a description of the
arguments COMPLETIONS.
The optional argument COMMON-SUBSTRING, if non-nil, should be a string
specifying a common substring for adding the faces
`completions-first-difference' and `completions-common-part' to
the completions."
(cond ((< emacs-major-version 22) `(display-completion-list ,completions))
((fboundp 'completion-hilit-commonality) ; Emacs 23.1 and later
`(display-completion-list
(completion-hilit-commonality ,completions
,(length common-substring) nil)))
(t ; Emacs 22
`(display-completion-list ,completions ,common-substring))))