Function: hycontrol-frame-minimize-lines
hycontrol-frame-minimize-lines is an interactive and byte-compiled
function defined in hycontrol.el.
Signature
(hycontrol-frame-minimize-lines)
Documentation
Shrink frame to its smallest number of lines to display all existing windows.
The smallest noumber is an approximation.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-frame-minimize-lines ()
"Shrink frame to its smallest number of lines to display all existing windows.
The smallest noumber is an approximation."
(interactive)
(let ((l 0))
(save-window-excursion
(mapc (lambda (w)
(select-window w t)
(setq l (+ 2 l (min (window-height) (count-lines (point-min) (point-max))))))
(window-list nil 'nomini)))
(set-frame-height nil l)))