emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cape 86c5bdfc5c: cape-wrap-buster: Only refresh table w


From: ELPA Syncer
Subject: [elpa] externals/cape 86c5bdfc5c: cape-wrap-buster: Only refresh table when computing all completions
Date: Tue, 2 Jan 2024 18:57:28 -0500 (EST)

branch: externals/cape
commit 86c5bdfc5c3ea1148a827702224190a70250c656
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    cape-wrap-buster: Only refresh table when computing all completions
---
 cape.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cape.el b/cape.el
index 8c9cb820b2..9070ed3df0 100644
--- a/cape.el
+++ b/cape.el
@@ -998,7 +998,8 @@ completion table is refreshed on every input change."
                (input (buffer-substring-no-properties beg end)))
           (lambda (str pred action)
             (let ((new-input (buffer-substring-no-properties beg end)))
-              (unless (or (cape--separator-p new-input)
+              (unless (or (not (eq action t))
+                          (cape--separator-p new-input)
                           (funcall valid input new-input))
                 (pcase
                     ;; Reset in case `all-completions' is used inside CAPF



reply via email to

[Prev in Thread] Current Thread [Next in Thread]