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

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

[elpa] externals/mct f2d2fb0ec7 42/64: Fixes and TODOS


From: ELPA Syncer
Subject: [elpa] externals/mct f2d2fb0ec7 42/64: Fixes and TODOS
Date: Thu, 30 Dec 2021 23:57:59 -0500 (EST)

branch: externals/mct
commit f2d2fb0ec77f0d1f89497bf1d96a8f77eaeaf7af
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fixes and TODOS
---
 mct.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mct.el b/mct.el
index 3f91f9e12f..21220ea4a6 100644
--- a/mct.el
+++ b/mct.el
@@ -1104,12 +1104,15 @@ region.")
     (advice-remove #'minibuffer-message #'mct--honor-inhibit-message)
     (advice-remove #'minibuf-eldef-setup-minibuffer #'mct--stealthily)))
 
+;; TODO 2021-12-29: Do not use mct-mode in the interactive specification of 
the commands
 (define-obsolete-function-alias 'mct-mode 'mct-minibuffer-mode "0.4.0")
 
 ;;;;; mct-region-mode declaration
 
 ;;;;;; Live completions
 
+;; TODO: Why do we need this variable?
+;; Can we not always call `mct--region-current-buffer'?
 (defvar mct--region-buf nil
   "Current buffer where Mct performs completion in region.")
 
@@ -1238,11 +1241,11 @@ minibuffer)."
 (defun mct--region-setup-completion-list ()
   "Set up the completion-list for Mct."
   (when (mct--region-p)
-    (setq-local completion-show-help nil)
+    (setq-local completion-show-help nil
+                truncate-lines t)
     (mct--setup-clean-completions)
     (mct--setup-appearance)
     (mct--region-setup-completion-list-keymap)
-    (mct--setup-silent-line-truncation)
     (mct--setup-highlighting)
     (mct--setup-line-numbers)
     (cursor-sensor-mode)))



reply via email to

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