diff options
| author | Stefan Monnier | 2019-11-21 17:53:02 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2019-11-21 17:53:02 -0500 |
| commit | 20b1e959e077492817bea34392ba2dda745c4641 (patch) | |
| tree | 4175610bbe07e9fde308fbfdc9b651351e81146e | |
| parent | 81ab458aae931e01a940424eeea55777004f9c55 (diff) | |
| download | emacs-20b1e959e077492817bea34392ba2dda745c4641.tar.gz emacs-20b1e959e077492817bea34392ba2dda745c4641.zip | |
* lisp/minibuffer.el (completions-common-part): Make it blue when possible
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 4 |
2 files changed, 5 insertions, 1 deletions
| @@ -409,6 +409,8 @@ matches strings where the pattern appears as a subsequence. Put | |||
| 409 | simply, makes "foo" complete to both "barfoo" and "frodo". Add 'flex' | 409 | simply, makes "foo" complete to both "barfoo" and "frodo". Add 'flex' |
| 410 | to 'completion-styles' or 'completion-category-overrides' to use it. | 410 | to '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. |
| 414 | The new face attribute ':extend' controls whether to use the face for | 416 | The 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. |
| 1693 | See also the face `completions-common-part'.") | 1693 | See 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. |
| 1697 | See also the face `completions-first-difference'.") | 1699 | See also the face `completions-first-difference'.") |
| 1698 | 1700 | ||