]> git.eshelyaron.com Git - emacs.git/commit
(completion--insert-strings): Split function; Full group title support
authorDaniel Mendler <mail@daniel-mendler.de>
Fri, 30 Apr 2021 06:40:59 +0000 (08:40 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 20 May 2021 17:50:28 +0000 (20:50 +0300)
commitde168b70b105730b1a3ce79aeb0b0c70d9460300
treef0f18a7041f121ba8000db5aec30bd8466aee553
parent443d9efc9524be6aff5d9703b81a821b3bb12f35
(completion--insert-strings): Split function; Full group title support

Split `completion--insert-strings` into a function per completions
format in order to increase readability and extensibility.  This
change eases the addition of more formats.  Add support for group
titles to the vertical and horizontal formatting functions.

* minibuffer.el (completion--insert): Add new function.
(completion--insert-vertical, completion--insert-horizontal,
completion--insert-one-column): Extract function from
`completion--insert-strings`.  Use new function `completion--insert`.
(completion--insert-strings): Use new insertion functions.
lisp/minibuffer.el