]> 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)
committerJuri Linkov <juri@linkov.net>
Wed, 10 Jan 2024 07:34:47 +0000 (09:34 +0200)
commit7755f7172748b2d337fa53434c1f678269cc5c45
treea978a4c00d2cc6c930a798d3cc4a4ebbfb46874d
parent3f303b9cb51306e1f70e2024a31a48a9901585a0
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.
doc/lispref/minibuf.texi
etc/NEWS
lisp/calendar/calendar.el
lisp/minibuffer.el