diff options
author | Juri Linkov <juri@linkov.net> | 2020-11-25 10:46:59 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-11-25 10:46:59 +0200 |
commit | 3b740591b0a1d0e7a24be38471499ecace96936b (patch) | |
tree | 32d0d26182f4e29ef8291550b76da9c42b6a00d3 /test/lisp/progmodes/js-resources/js-chain.js | |
parent | d7a580c7eb189c0b0daf131f9a1f3c8c7fe5f196 (diff) | |
download | emacs-3b740591b0a1d0e7a24be38471499ecace96936b.tar.gz emacs-3b740591b0a1d0e7a24be38471499ecace96936b.tar.bz2 emacs-3b740591b0a1d0e7a24be38471499ecace96936b.zip |
Add 'completions-detailed' to add prefix/suffix with 'affixation-function'
* doc/lispref/minibuf.texi (Completion Variables)
(Programmed Completion): Add affixation-function.
* lisp/help-fns.el (help--symbol-completion-table-affixation): New function.
(help--symbol-completion-table): Set affixation-function when
completions-detailed is non-nil.
* lisp/minibuffer.el (completion-metadata): Add affixation-function
to docstring.
(completions-annotations): Inherit from shadow with italic.
(completions-detailed): New defcustom.
(completion--insert-strings): Count string-width on all strings in
completion list. Insert prefix and suffix.
(completion-extra-properties): Add affixation-function to docstring.
(minibuffer-completion-help): Call affixation-function.
(minibuffer-default-prompt-format): Move down closer to its use.
https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00613.html
Diffstat (limited to 'test/lisp/progmodes/js-resources/js-chain.js')
0 files changed, 0 insertions, 0 deletions