]> 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 06:56:12 +0000 (07:56 +0100)
commitfc50a214d45c0b95749147f25fc8b5e9d017336f
tree3f527a161856adad663004010d751b9c271a9fa0
parent1bd4e003660278c5d085d87199d2a31376dd4ff3
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