Function: hmouse-split-window

hmouse-split-window is a byte-compiled function defined in hui-window.el.

Signature

(hmouse-split-window)

Documentation

Split selected window parallel to its shortest dimension.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
;;; ************************************************************************
;;; Private functions
;;; ************************************************************************

(defun hmouse-split-window ()
  "Split selected window parallel to its shortest dimension."
  (if (>= (window-width) (window-height))
      ;; side-by-side windows
      (split-window-horizontally)
    ;; windows atop the other
    (split-window-vertically)))