[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 33646bed21 1/2: Improve check for completions' sepa
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 33646bed21 1/2: Improve check for completions' separator |
Date: |
Thu, 20 Jan 2022 15:57:33 -0500 (EST) |
branch: externals/mct
commit 33646bed2142d1192fc35539a497facb4d037460
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Improve check for completions' separator
Searching for a face is not always an option because the user can
customise the completions-group-format.
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index eb8d665b4a..475700092a 100644
--- a/mct.el
+++ b/mct.el
@@ -560,7 +560,7 @@ a `one-column' value."
"Check if ARGth line has a completion candidate."
(save-excursion
(vertical-motion arg)
- (eq 'completions-group-separator (get-text-property (point) 'face))))
+ (null (mct--completions-completion-p))))
(defun mct--switch-to-completions ()
"Subroutine for switching to the completions' buffer."