Function: ghostel--minibuffer-exit

ghostel--minibuffer-exit is a natively compiled function defined in ghostel.el.

Signature

(ghostel--minibuffer-exit)

Documentation

Schedule anchoring of all the currently anchored Ghostel windows.

The minibuffer when used with packages such as Vertico can cause a resize of a Ghostel window making it lose its anchoring.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--minibuffer-exit ()
  "Schedule anchoring of all the currently anchored Ghostel windows.
The minibuffer when used with packages such as Vertico can cause a resize of
a Ghostel window making it lose its anchoring."
  (when-let* ((anchored (ghostel--window-buffer-pairs
                         (ghostel--anchored-windows))))
    (run-at-time 0 nil
                 (lambda ()
                   (dolist (entry anchored)
                     (when (ghostel--window-buffer-pair-live-p entry)
                       (ghostel--anchor-window (car entry))))))))