Variable: which-key-custom-popup-max-dimensions-function

which-key-custom-popup-max-dimensions-function is a customizable variable defined in which-key.el.gz.

Value

nil

Documentation

Set a custom max-dimensions function.

Will be passed the width of the active window and is expected to return the maximum height in lines and width in characters of the which-key popup in the form a cons cell (height . width).

This variable was added, or its default value changed, in which-key version 1.0.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;;; Custom popup

(defcustom which-key-custom-popup-max-dimensions-function nil
  "Set a custom max-dimensions function.
Will be passed the width of the active window and is expected to
return the maximum height in lines and width in characters of the
which-key popup in the form a cons cell (height . width)."
  :group 'which-key
  :type '(choice function (const nil))
  :package-version '(which-key . "1.0") :version "30.1")