Function: which-key--minibuffer-max-dimensions
which-key--minibuffer-max-dimensions is a byte-compiled function
defined in which-key.el.gz.
Signature
(which-key--minibuffer-max-dimensions)
Documentation
Return max-dimensions of minibuffer (height . width).
Measured in lines and characters respectively.
Source Code
;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defun which-key--minibuffer-max-dimensions ()
"Return max-dimensions of minibuffer (height . width).
Measured in lines and characters respectively."
(cons
;; height
(if (floatp max-mini-window-height)
(floor (* (frame-text-lines)
max-mini-window-height))
max-mini-window-height)
;; width
(max 0 (- (frame-text-cols) which-key-unicode-correction))))