Function: vertico-posframe-mode

vertico-posframe-mode is an interactive and natively compiled function defined in vertico-posframe.el.

Signature

(vertico-posframe-mode &optional ARG)

Documentation

Display Vertico in posframe instead of the minibuffer.

This is a global minor mode. If called interactively, toggle the Vertico-Posframe mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate (default-value \=vertico-posframe-mode)'.

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/ikn3v8q50cnzqr2w28cx8b7wqr6cg5zb-emacs-packages-deps/share/emacs/site-lisp/elpa/vertico-posframe-0.9.2/vertico-posframe.el
;;;###autoload
(define-minor-mode vertico-posframe-mode
  "Display Vertico in posframe instead of the minibuffer."
  :global t
  (if vertico-posframe-mode
      (unless (posframe-workable-p)
        (funcall (buffer-local-value 'vertico-posframe-fallback-mode (current-buffer)) 1))
    (if (posframe-workable-p)
        (vertico-posframe--multiform-function)
      (funcall (buffer-local-value 'vertico-posframe-fallback-mode (current-buffer)) -1))))