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

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

[elpa] externals/mct da04944503 3/5: Fix regression in mct-region-mode l


From: ELPA Syncer
Subject: [elpa] externals/mct da04944503 3/5: Fix regression in mct-region-mode live-completion
Date: Fri, 21 Jan 2022 14:58:32 -0500 (EST)

branch: externals/mct
commit da049445032bf478a5a45c207eeefc5e19b7add5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix regression in mct-region-mode live-completion
    
    Thanks to Z.Du for reporting the bug in issue 17:
    <https://gitlab.com/protesilaos/mct/-/issues/17>.
---
 mct.el | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/mct.el b/mct.el
index 17f465ea88..e5cfb09481 100644
--- a/mct.el
+++ b/mct.el
@@ -1137,15 +1137,11 @@ region.")
   "Update the *Completions* buffer.
 Meant to be added to `after-change-functions'."
   (when-let (buf (mct--region-current-buffer))
-    ;; TODO 2022-01-20: I don't think we need to check for corfu-mode
-    ;; any more.  Consider removing it.
-    (when (and (bound-and-true-p corfu-mode)
-               (null (buffer-local-value 'corfu-mode buf)))
-      (while-no-input
-        (condition-case nil
-            (save-match-data
-              (mct--show-completions))
-          (quit (keyboard-quit)))))))
+    (while-no-input
+      (condition-case nil
+          (save-match-data
+            (mct--show-completions))
+        (quit (keyboard-quit))))))
 
 (defun mct--region-live-update ()
   "Hook up `mct--region-live-completions'."



reply via email to

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