summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-01-08 20:53:38 +0000
committerjao <jao@gnu.org>2025-01-08 20:53:38 +0000
commitd8bd11ab7a867b50b8b1999459111df84aaaf73b (patch)
treebe8ad6bd5c39131dde846a42c3a97045a316517d
parent0b30ee14f0b67702896732d609c402e6c35c17b1 (diff)
downloadelibs-d8bd11ab7a867b50b8b1999459111df84aaaf73b.tar.gz
elibs-d8bd11ab7a867b50b8b1999459111df84aaaf73b.tar.bz2
vertico api upgrade
-rw-r--r--custom/jao-custom-completion.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 9524e23..34701b3 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -87,7 +87,7 @@
(funcall fun lines)
(move-overlay vertico--candidates-ov (point-min) (point-min))
(overlay-put vertico--candidates-ov 'after-string (apply #'concat lines))
- (vertico--resize-window (length lines))))
+ (vertico--resize)))
(advice-add 'vertico--display-candidates :around #'jao-vertico--display))