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

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

[elpa] externals/mct 527c437 3/3: Extend minibuffer file map only when n


From: ELPA Syncer
Subject: [elpa] externals/mct 527c437 3/3: Extend minibuffer file map only when necessary
Date: Tue, 30 Nov 2021 03:57:20 -0500 (EST)

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

    Extend minibuffer file map only when necessary
---
 mct.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mct.el b/mct.el
index 4c9e8d2..704f19b 100644
--- a/mct.el
+++ b/mct.el
@@ -1024,7 +1024,8 @@ region.")
 
 (defun mct--minibuffer-local-filename-completion-map ()
   "Hook to `minibuffer-setup-hook'."
-  (when (eq (mct--completion-category) 'file)
+  (when (and (eq (mct--completion-category) 'file)
+             (not (bound-and-true-p completion-in-region-mode)))
     (use-local-map
      (make-composed-keymap mct-minibuffer-local-filename-completion-map
                            (current-local-map)))))



reply via email to

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