branch: externals/vertico-posframe commit 80b8721a8edb7fbe3d599809ad95865e80de68fb Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
vertico-posframe-size-function use buffer local value. --- vertico-posframe.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertico-posframe.el b/vertico-posframe.el index 165e068821..ee2dcd9030 100644 --- a/vertico-posframe.el +++ b/vertico-posframe.el @@ -234,7 +234,7 @@ is called, window-point will be set to WINDOW-POINT." :refposhandler (buffer-local-value 'vertico-posframe-refposhandler buffer) :hidehandler #'vertico-posframe-hidehandler :lines-truncate (buffer-local-value 'vertico-posframe-truncate-lines buffer) - (funcall vertico-posframe-size-function buffer))))) + (funcall (buffer-local-value 'vertico-posframe-size-function buffer) buffer))))) ;; NOTE: `posframe-show' will force set window-point to 0, so we ;; need reset it again after `posframe-show'. (when (numberp window-point)