]> git.eshelyaron.com Git - emacs.git/commit
Add 'help-echo' hint to completion preview
authorEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 19:41:09 +0000 (20:41 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Feb 2025 19:41:09 +0000 (20:41 +0100)
commit3a302ca3637a7b218c1582576a7ce4bc8dde494b
treecd36acf2e98afdd336451f92db1014913d03a708
parente2258effbf7f9cd008844f27c87e3809eea076dd
Add 'help-echo' hint to completion preview

* lisp/completion-preview.el
(completion-preview--propertize-for-mouse): New function.
* lisp/completion-preview.el (completion-preview--update)
(completion-preview--show)
(completion-preview-partial-insert)
(completion-preview-complete)
(completion-preview-next-candidate): Use it to propertize
completion preview text with mouse-related properties,
including a new 'help-echo' hint.
lisp/completion-preview.el