Variable: icomplete-minibuffer-setup-hook

icomplete-minibuffer-setup-hook is a customizable variable defined in icomplete.el.gz.

Value

nil

Documentation

Icomplete-specific customization of minibuffer setup.

This hook is run during minibuffer setup if Icomplete is active. It is intended for use in customizing Icomplete for interoperation with other features and packages. For instance:

  (add-hook 'icomplete-minibuffer-setup-hook
(lambda () (setq-local max-mini-window-height 3)))

will constrain Emacs to a maximum minibuffer height of 3 lines when icompletion is occurring.

Probably introduced at or before Emacs version 19.29.

Source Code

;; Defined in /usr/src/emacs/lisp/icomplete.el.gz
(defcustom icomplete-minibuffer-setup-hook nil
  "Icomplete-specific customization of minibuffer setup.

This hook is run during minibuffer setup if Icomplete is active.
It is intended for use in customizing Icomplete for interoperation
with other features and packages.  For instance:

  (add-hook \\='icomplete-minibuffer-setup-hook
	     (lambda () (setq-local max-mini-window-height 3)))

will constrain Emacs to a maximum minibuffer height of 3 lines when
icompletion is occurring."
  :type 'hook
  :group 'icomplete)