branch: externals/mct commit 33646bed2142d1192fc35539a497facb4d037460 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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."