]> git.eshelyaron.com Git - emacs.git/commit
Rework face hints for partial-string completion styles
authorJoão Távora <joaotavora@gmail.com>
Sat, 26 Oct 2019 13:31:38 +0000 (14:31 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 26 Oct 2019 13:33:02 +0000 (14:33 +0100)
commitda0f8dbf8fea53da65d1990b3f9f235e4fe3f9e0
treeb535284aae6413a8afa4bd8ef7d60a2e2c3268e0
parente21a1da8dc14c1e54a12c669255cc5496983e54e
Rework face hints for partial-string completion styles

Don't use completions-first-difference for the 'substring', 'flex' and
'partial-completion' styles, since there can be really no reasonable
definition of a "first" difference there.

Make completions-common-part inherit from 'underline' so that it is
useful by default for all completion styles.

* lisp/minibuffer.el (completions-common-part): Adjust
description and change default value.
(completions-first-difference): Ajust docstring.
(completion-pcm--hilit-commonality): Don't use
completions-first-difference.
lisp/minibuffer.el