Function: vertico-posframe--minibuffer-exit-hook
vertico-posframe--minibuffer-exit-hook is a natively compiled function
defined in vertico-posframe.el.
Signature
(vertico-posframe--minibuffer-exit-hook)
Documentation
The function used by minibuffer-exit-hook.
Source Code
;; Defined in /nix/store/ikn3v8q50cnzqr2w28cx8b7wqr6cg5zb-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-posframe-0.9.2/vertico-posframe.el
(defun vertico-posframe--minibuffer-exit-hook ()
"The function used by `minibuffer-exit-hook'."
;; `vertico--resize-window' have set `max-mini-window-height' to
;; 1.0, so I think setting it to 1.0 here is safe :-).
(setq-local max-mini-window-height 1.0)
;; Before hide vertico-posframe, we should clean window hscroll
;; effect, to handle long path issue:
;; https://github.com/tumashu/vertico-posframe/issues/37
(posframe-funcall
vertico-posframe--buffer
(lambda ()
(setf (window-hscroll) 0)
(when vertico-posframe--use-auto-hscroll-mode-p
(kill-local-variable 'auto-hscroll-mode)
(setq-local vertico-posframe--use-auto-hscroll-mode-p nil))))
(posframe-hide vertico-posframe--buffer))