]> git.eshelyaron.com Git - emacs.git/commit
(affixation-function): Allow only three-element list elements
authorDaniel Mendler <mail@daniel-mendler.de>
Tue, 27 Apr 2021 16:44:41 +0000 (19:44 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 27 Apr 2021 16:44:41 +0000 (19:44 +0300)
commitd8e037eeaa7eef26349bc0fb3fa00e10a5c4b894
tree9bbd802af65d11001e1e4bc6d037f38c4552158b
parent7133a67dcdb68fc16d71c3d45323baba8ac5afe9
(affixation-function): Allow only three-element list elements

Restrict the definition of the `affixation-function`.  The function
must return a list of three element lists.  Since the
`affixation-function` is part of the widely used `completing-read` API
a simplification is helpful for both authors of completion UIs and
authors of completion tables.

* doc/lispref/minibuf.texi: Update documentation.
* lisp/minibuffer.el: Update documentation.
* lisp/simple.el (read-extended-command--affixation):
Return three-element lists.

https://lists.gnu.org/archive/html/emacs-devel/2021-04/msg01193.html
doc/lispref/minibuf.texi
lisp/minibuffer.el
lisp/simple.el