]> git.eshelyaron.com Git - emacs.git/commit
Show completions category in heading line
authorEshel Yaron <me@eshelyaron.com>
Fri, 19 Jan 2024 06:38:46 +0000 (07:38 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 19 Jan 2024 10:11:37 +0000 (11:11 +0100)
commit1bb606272e2ee416ce450137e799fd28cff78caa
tree38ab3dfc26d20095e314eb4138c1c1049706a81d
parent791d8759eb9b230f103f978dedaa7befa9fc68eb
Show completions category in heading line

Extend 'completions-header-format' with a placeholder for the
completions category.  Stop hard-coding the 'shadow' face for the
heading line default value, instead define a derived face.

* lisp/minibuffer.el (completions-header-format): Extend.
(completions-heading): New face.
(completion-category): New variable.
(minibuffer-completion-help): Let-bind it.
(display-completion-list): Use it.

* doc/emacs/mini.texi (Completion Options): Elaborate.

* etc/NEWS: Announce.
doc/emacs/mini.texi
etc/NEWS
lisp/minibuffer.el