1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
emacs/lisp/calendar
Juri Linkov dc99be8e63 Support display-sort-function in completion-category-overrides (bug#68214)
* doc/lispref/minibuf.texi (Completion Variables):
Add 'display-sort-function' to the table of
'completion-category-overrides'.

* lisp/calendar/calendar.el (calendar-read-date): Add metadata
category 'calendar-month' for completing-read reading a month name.

* lisp/minibuffer.el (completion-category-defaults):
Add 'display-sort-function' with identity for the category 'calendar-month'.
(completion-category-overrides): Add customization for completion sorting
with 'display-sort-function' and a choice like in 'completions-sort'.
(completion-metadata-override-get): New function.
(minibuffer-completion-help): Use 'completion-metadata-override-get'
instead of 'completion-metadata-get' to get sort-fun from
'display-sort-function'.
2024-01-04 19:20:30 +02:00
..
appt.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cal-bahai.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-china.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-coptic.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-dst.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cal-french.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-hebrew.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-html.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-islam.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-iso.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-julian.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-mayan.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-menu.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-move.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cal-persia.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-tex.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cal-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
calendar.el Support display-sort-function in completion-category-overrides (bug#68214) 2024-01-04 19:20:30 +02:00
diary-lib.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
holidays.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
icalendar.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
iso8601.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
lunar.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
parse-time.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
solar.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
time-date.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
timeclock.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
todo-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00