]> git.eshelyaron.com Git - emacs.git/commit
New commands 'completion-preview-insert-{word,sexp}'
authorJules Tamagnan <jtamagnan@gmail.com>
Mon, 24 Jun 2024 15:53:23 +0000 (08:53 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 13:36:04 +0000 (15:36 +0200)
commit7b820e2c28fd77a8ad43e5e9345ab2d0c543da4c
treebdbaf57b30a4bfbf43f121542ca5c3bcc0f9a7d0
parenta5d4c3659b7029fd58138210fb47249e77f65e15
New commands 'completion-preview-insert-{word,sexp}'

* lisp/completion-preview.el
(completion-preview-partial-insert): New function.
(completion-preview-insert-word)
(completion-preview-insert-sexp): New commands.
(completion-preview-commands): Add them.
(Commentary): Document them.
(completion-preview-active-mode-map): Add comment.
* test/lisp/completion-preview-tests.el
(completion-preview-insert-calls-exit-function): Update.
(completion-preview-insert-nonsubword)
(completion-preview-insert-subword)
(completion-preview-insert-sexp):  New tests.  (Bug#71716)

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