* lisp/minibuffer.el (completions-common-part): Make it blue when possible

This commit is contained in:
Stefan Monnier 2019-11-21 17:53:02 -05:00
parent 81ab458aae
commit 20b1e959e0
2 changed files with 5 additions and 1 deletions

View file

@ -409,6 +409,8 @@ matches strings where the pattern appears as a subsequence. Put
simply, makes "foo" complete to both "barfoo" and "frodo". Add 'flex'
to 'completion-styles' or 'completion-category-overrides' to use it.
** The 'completion-common-part' face is now visible by default.
+++
** New face attribute ':extend' to control face extension at EOL.
The new face attribute ':extend' controls whether to use the face for

View file

@ -1692,7 +1692,9 @@ See also `display-completion-list'.")
"Face for the first character after point in completions.
See also the face `completions-common-part'.")
(defface completions-common-part '((t nil))
(defface completions-common-part
'((((class color) (min-colors 16) (background light)) :foreground "blue3")
(((class color) (min-colors 16) (background dark)) :foreground "lightblue"))
"Face for the parts of completions which matched the pattern.
See also the face `completions-first-difference'.")