]> git.eshelyaron.com Git - emacs.git/commit
; (completion-preview--try-table): Propagate extra properties.
authorEshel Yaron <me@eshelyaron.com>
Sun, 2 Mar 2025 07:03:04 +0000 (08:03 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 21:01:04 +0000 (22:01 +0100)
commit1211bde049ff973b5f9dcf7de68b50765117f308
treef918d91378cd357144513e4acd8a3d112c003e92
parent65f25cf627c6cd3ea1a6b1edb3fd8a6f009de7ed
; (completion-preview--try-table): Propagate extra properties.

* lisp/completion-preview.el
(completion-preview--try-table): Let-bind
'completion-extra-properties' to completion properties
that the completion backend (capf) provides, so that these
properties take effect when querying the completion table.
* test/lisp/completion-preview-tests.el
(completion-preview-propagates-properties): Add test.

(cherry picked from commit 365a91622e093fe0fb74b7fee3ff7cc4a0025611)
lisp/completion-preview.el
test/lisp/completion-preview-tests.el