From 54477c6177a25c1c96b6de06c7049a3d204f276b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 26 Oct 2019 21:47:36 +0100 Subject: [PATCH] Restore default value of face completions-common-part The previous commit titled "Rework face hints for partial-string completion styles" contained a potentially controversial backwards-incompatible change to this face's default value. * lisp/minibuffer.el (completions-common-part): Restore empty default value. --- lisp/minibuffer.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index e7d081eaeb2..6a041d1b739 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -1687,11 +1687,12 @@ See also `display-completion-list'.") "Face for the first uncommon character in prefix completions. See also the face `completions-common-part'.") -(defface completions-common-part '((t (:inherit underline))) - "Face for parts of completions matching a pattern. -You can use it to make the common parts less visible than normal, -so that the differing parts are emphasized by contrast. See also -the face `completions-first-difference'.") +(defface completions-common-part '((t nil)) + "Face for the common prefix substring in completions. +The idea of this face is that you can use it to make the common parts +less visible than normal, so that the differing parts are emphasized +by contrast. +See also the face `completions-first-difference'.") (defun completion-hilit-commonality (completions prefix-len &optional base-size) "Apply font-lock highlighting to a list of completions, COMPLETIONS. -- 2.39.2