]> git.eshelyaron.com Git - emacs.git/commit
Support :category in completion-extra-properties (bug#68214)
authorJuri Linkov <juri@linkov.net>
Wed, 10 Jan 2024 07:34:47 +0000 (09:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Jan 2024 19:10:18 +0000 (20:10 +0100)
commit9f05b67d26134f3503fa94613ed8001fb35a993f
treefa9a2836e4db1508d4fdc4033a8af9e65afc8891
parentafb32f8efeabbb8fe8d10ce29b312cdd23c2fb14
Support :category in completion-extra-properties (bug#68214)

* doc/lispref/minibuf.texi (Completion Variables): Add :category
to the table of completion-extra-properties.

* lisp/minibuffer.el (completion--metadata-get-1): New internal function.
(completion-metadata-get): Use 'completion--metadata-get-1'.
Thanks to Daniel Mendler <mail@daniel-mendler.de>.
(completion-extra-properties): Mention :category in the docstring.

* lisp/calendar/calendar.el (calendar-read-date): Use more
user-friendly let-binding of completion-extra-properties
with :category.

(cherry picked from commit 7755f7172748b2d337fa53434c1f678269cc5c45)
doc/lispref/minibuf.texi
etc/NEWS
lisp/calendar/calendar.el
lisp/minibuffer.el