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

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

[elpa] externals/mct f9394ede61 10/23: Add FIXME for weird Emacs 27 bug


From: ELPA Syncer
Subject: [elpa] externals/mct f9394ede61 10/23: Add FIXME for weird Emacs 27 bug
Date: Fri, 25 Feb 2022 07:57:37 -0500 (EST)

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

    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

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