]> git.eshelyaron.com Git - emacs.git/commit
Only disable 'completion-preview-active-mode' when it is on
authorEshel Yaron <me@eshelyaron.com>
Sun, 16 Mar 2025 08:45:25 +0000 (09:45 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 16 Mar 2025 16:37:02 +0000 (17:37 +0100)
commit630515294c28dc0778866b9eb9ddcf4fd0f5bc82
tree9ed70deffbbfd1c8aea8ccaffcf5c37b4dbf4bd8
parent8619e0de6bdfcd9344fd96b0346672e6681411e8
Only disable 'completion-preview-active-mode' when it is on

* lisp/completion-preview.el
(completion-preview--post-command): Avoid calling
'completion-preview-active-mode' to disable the mode when
already off, since it forces a costly redisplay. (Bug#76964)

(cherry picked from commit b6b4a080a3abb5a45b680e26f93dd17adbb75f69)
lisp/completion-preview.el