diff options
| author | Daniel Mendler | 2024-12-08 20:05:07 +0100 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-14 14:38:29 +0200 |
| commit | fd021c07606264a73cd4c1f6fa6fe80a756defe0 (patch) | |
| tree | 2be0e0fa6f9aeed73a4c79d63c71a58d3f4477c6 /java/debug.sh | |
| parent | 64981660c912e5ab79c1143d9879d9ee7a0b93bf (diff) | |
| download | emacs-fd021c07606264a73cd4c1f6fa6fe80a756defe0.tar.gz emacs-fd021c07606264a73cd4c1f6fa6fe80a756defe0.zip | |
New customization variable `completion-eager-display'
The customization option can be set to t or nil, to respectively
always or never show the *Completions* buffer eagerly at the
beginning of a completion session. Furthermore the option can
be set to the value auto. In this case the *Completions* buffer
will only be shown if requested by the completion table.
Completion tables can use the `eager-display' completion
metadata to do so. (Bug#74616, Bug#74617)
* lisp/minibuffer.el (completion-eager-display): New
customization variable.
(completion-metadata): Update docstring, document the
new `eager-display' completion metadata.
(completion-extra-properties): Update docstring, document the
new `:eager-display' completion metadata.
(completion-category-overrides): Add `eager-display' to the
custom type specification.
(completing-read-default): Handle the `completion-eager-display'
customization variable and the `eager-display' completion
metadata.
(completion-table-with-metadata): New function to create
a completion table with metadata.
(minibuffer-complete-defaults, minibuffer-complete-history):
Use it.
* lisp/ffap.el (ffap-menu-ask): Add `ffap-menu' completion
category and `eager-display' completion metadata. Use
`completion-table-with-metadata'.
* lisp/imenu.el (imenu-eager-completion-buffer): Correct
docstring, which had been inverted.
(imenu--completion-buffer): Add `eager-display' completion
metadata. Use `completion-table-with-metadata'.
* lisp/tmm.el (tmm-prompt): Add `tmm' completion category and
`eager-display' completion metadata. Use
`completion-table-with-metadata'. Add keymap setup.
(tmm-add-prompt): Remove keymap setup.
(tmm-goto-completions): Call `tmm-add-prompt' to ensure that a
*Completions* buffer is shown.
(tmm--completion-table): Remove unused internal function.
* etc/NEWS: Announce the change.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions