diff options
| author | Eshel Yaron <me@eshelyaron.com> | 2026-05-08 12:45:00 +0200 |
|---|---|---|
| committer | Eshel Yaron <me@eshelyaron.com> | 2026-05-09 20:06:25 +0200 |
| commit | 66729f3e5080f8853393e5f88ce6f062b45164b7 (patch) | |
| tree | 847f7bf8440f2187826fe803b33b8787e7ea162b /java/org/gnu/emacs/EmacsDialogButtonLayout.java | |
| parent | 876a1db6ee00f1d1b2af0329236acc8bdcceda5b (diff) | |
New variable 'completion-frontend-properties' (bug#80990)
Allow completion "frontends" to provide extra information
that the backends they call can use to adjust or optimize
their behavior.
See some relevant discussion at
https://yhetil.org/emacs/jwv7bpl28y6.fsf-monnier+emacs@gnu.org/
* lisp/minibuffer.el (completion-frontend-properties):
New variable.
(completion-lazy-hilit-p): New function.
(completion-hilit-commonality, completion-lazy-hilit)
(completion-pcm--hilit-commonality)
(completion-flex-all-completions): Use it instead of
checking the 'completion-lazy-hilit' variable directly.
* lisp/completion-preview.el (completion-preview--capf-wrapper):
Bind 'completion-frontend-properties'.
(completion-preview--try-table): Add comment.
* etc/NEWS: Announce 'completion-frontend-properties'.
Diffstat (limited to 'java/org/gnu/emacs/EmacsDialogButtonLayout.java')
0 files changed, 0 insertions, 0 deletions
