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

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

[elpa] externals/corfu 3c97c81f86 2/2: Fix condition in post command hoo


From: ELPA Syncer
Subject: [elpa] externals/corfu 3c97c81f86 2/2: Fix condition in post command hook
Date: Thu, 3 Feb 2022 16:57:27 -0500 (EST)

branch: externals/corfu
commit 3c97c81f869f08d3e558d0cf0b15652573dc99e1
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Fix condition in post command hook
---
 corfu.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 510a60817f..c9bc40d591 100644
--- a/corfu.el
+++ b/corfu.el
@@ -842,7 +842,9 @@ there hasn't been any input, then quit."
          (when (let ((pt (point)))
                  (and (eq (marker-buffer beg) (current-buffer))
                       (<= beg pt end)
-                      (or (not corfu--input) (< beg end))
+                      (or (not corfu--input)
+                          (corfu--match-symbol-p corfu-continue-commands 
this-command)
+                          (< beg end))
                       (save-excursion
                         (goto-char beg)
                         (<= (line-beginning-position) pt (line-end-position)))



reply via email to

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