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

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

[elpa] externals/mct 3b0294c 3/4: Fix the scope of file-related keymap


From: ELPA Syncer
Subject: [elpa] externals/mct 3b0294c 3/4: Fix the scope of file-related keymap
Date: Tue, 16 Nov 2021 06:59:36 -0500 (EST)

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

    Fix the scope of file-related keymap
---
 mct.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mct.el b/mct.el
index f2a040f..9ca4bf2 100644
--- a/mct.el
+++ b/mct.el
@@ -1015,7 +1015,7 @@ region.")
     
 (defun mct--minibuffer-local-filename-completion-map ()
   "Hook to `minibuffer-setup-hook'."
-  (when (mct--completion-category)
+  (when (eq (mct--completion-category) 'file)
     (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]