branch: externals/mct
commit f9394ede61cf58f047efa35d5ee5ae544deb51b2
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Add FIXME for weird Emacs 27 bug
---
 mct-tcm.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/mct-tcm.el b/mct-tcm.el
index b3e211ce7d..1b60556b2b 100644
--- a/mct-tcm.el
+++ b/mct-tcm.el
@@ -66,7 +66,11 @@ minibuffer while narrowing to the given input."
       (setq-local mct-live-completion t)
       (setq-local mct-live-update-delay 0)
       (setq-local mct-minimum-input 0)
-      (insert char))))
+      ;; FIXME 2022-02-24: Why does Emacs 27 insert twice?  In other
+      ;; words, why does it add the character even if the following is
+      ;; commented out?
+      (when (>= emacs-major-version 28)
+        (insert char)))))
 
 (declare-function mct--minibuffer-p "mct")
 

Reply via email to