branch: externals/mct
commit 613252aa42b67f45424b5fe8b90eb74a4c65ea9d
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use internal function to fit Completions' window
---
mct.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mct.el b/mct.el
index 70c86b7..8da8ef2 100644
--- a/mct.el
+++ b/mct.el
@@ -381,7 +381,7 @@ Meant to be added to `after-change-functions'."
(cons (cons mct-completion-windows-regexp mct-display-buffer-action)
display-buffer-alist)))
(save-excursion (minibuffer-completion-help)))
- (fit-window-to-buffer (mct--get-completion-window)))
+ (mct--fit-completions-window))
;;;###autoload
(defun mct-focus-mini-or-completions ()