aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2019-11-21 17:53:02 -0500
committerStefan Monnier2019-11-21 17:53:02 -0500
commit20b1e959e077492817bea34392ba2dda745c4641 (patch)
tree4175610bbe07e9fde308fbfdc9b651351e81146e
parent81ab458aae931e01a940424eeea55777004f9c55 (diff)
downloademacs-20b1e959e077492817bea34392ba2dda745c4641.tar.gz
emacs-20b1e959e077492817bea34392ba2dda745c4641.zip
* lisp/minibuffer.el (completions-common-part): Make it blue when possible
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/minibuffer.el4
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7a51106add8..b92fdeb6757 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -409,6 +409,8 @@ matches strings where the pattern appears as a subsequence. Put
409simply, makes "foo" complete to both "barfoo" and "frodo". Add 'flex' 409simply, makes "foo" complete to both "barfoo" and "frodo". Add 'flex'
410to 'completion-styles' or 'completion-category-overrides' to use it. 410to 'completion-styles' or 'completion-category-overrides' to use it.
411 411
412** The 'completion-common-part' face is now visible by default.
413
412+++ 414+++
413** New face attribute ':extend' to control face extension at EOL. 415** New face attribute ':extend' to control face extension at EOL.
414The new face attribute ':extend' controls whether to use the face for 416The new face attribute ':extend' controls whether to use the face for
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index ee3d0095a9a..399c4fe8bb2 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1692,7 +1692,9 @@ See also `display-completion-list'.")
1692 "Face for the first character after point in completions. 1692 "Face for the first character after point in completions.
1693See also the face `completions-common-part'.") 1693See also the face `completions-common-part'.")
1694 1694
1695(defface completions-common-part '((t nil)) 1695(defface completions-common-part
1696 '((((class color) (min-colors 16) (background light)) :foreground "blue3")
1697 (((class color) (min-colors 16) (background dark)) :foreground "lightblue"))
1696 "Face for the parts of completions which matched the pattern. 1698 "Face for the parts of completions which matched the pattern.
1697See also the face `completions-first-difference'.") 1699See also the face `completions-first-difference'.")
1698 1700