[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct b79b383d1f 60/64: Fix a6dac17
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct b79b383d1f 60/64: Fix a6dac17 |
Date: |
Thu, 30 Dec 2021 23:58:01 -0500 (EST) |
branch: externals/mct
commit b79b383d1f3865e974a1dd40c05fac3aeba10574
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix a6dac17
---
mct.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/mct.el b/mct.el
index 75ed91ba7c..cf21fb72ac 100644
--- a/mct.el
+++ b/mct.el
@@ -308,8 +308,9 @@ Meant to be added to `after-change-functions'."
(defun mct--region-p ()
"Return non-nil if Mct is completing in region."
- (with-current-buffer (mct--region-current-buffer)
- (bound-and-true-p mct-region-mode)))
+ (when-let ((buf (mct--region-current-buffer)))
+ (with-current-buffer buf
+ (bound-and-true-p mct-region-mode))))
(defun mct--display-completion-list-advice (&rest app)
"Prepare advice around `display-completion-list'.
- [elpa] externals/mct 8d02ae3a6c 55/64: Tweak the mct-region-completion-list-mode-map, (continued)
- [elpa] externals/mct 8d02ae3a6c 55/64: Tweak the mct-region-completion-list-mode-map, ELPA Syncer, 2021/12/30
- [elpa] externals/mct d3dbb61e89 56/64: Merge 'main' into experiment-completion-in-region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 93de87bb9f 57/64: Setup the region buffer map, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 98d5cc7095 62/64: Remove debug function for completion in region, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 9c68da912b 52/64: Simplify mct--setup-clean-completions, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 3f90353233 53/64: Make mct--setup-clean-completions more robust, ELPA Syncer, 2021/12/30
- [elpa] externals/mct 2bb0e25549 63/64: Placate the ever-pedantic compiler, ELPA Syncer, 2021/12/30
- [elpa] externals/mct c72eb363ba 35/64: Add fn to terminate region completion (hopefully), ELPA Syncer, 2021/12/30
- [elpa] externals/mct fd33ea240e 38/64: Reinstate orderless support (needs a defcustom), ELPA Syncer, 2021/12/30
- [elpa] externals/mct 90d07f5d3e 47/64: Remove mct--completions-choose-completion, ELPA Syncer, 2021/12/30
- [elpa] externals/mct b79b383d1f 60/64: Fix a6dac17,
ELPA Syncer <=