[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 2ff39d6: Fix mct--fit-completions-window arguments
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 2ff39d6: Fix mct--fit-completions-window arguments |
Date: |
Sun, 12 Dec 2021 14:57:37 -0500 (EST) |
branch: externals/mct
commit 2ff39d66b83388c52a037beed665986d56dd7bc8
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Fix mct--fit-completions-window arguments
This allows it to be used as advise for minibuffer-completion-help.
Thanks to Juri Linkov for noticing the problem and suggesting a
solution: <https://gitlab.com/protesilaos/mct/-/issues/12#note_768901170>.
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index 9bfb5d2..603b7e2 100644
--- a/mct.el
+++ b/mct.el
@@ -231,7 +231,7 @@ See `completions-format' for possible values."
(goto-char prev))))))
(put-text-property (point-min) (point) 'invisible t))))
-(defun mct--fit-completions-window ()
+(defun mct--fit-completions-window (&rest _args)
"Fit Completions' buffer to its window."
(when-let ((window (mct--get-completion-window)))
(with-current-buffer (window-buffer window)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/mct 2ff39d6: Fix mct--fit-completions-window arguments,
ELPA Syncer <=