Function: hydra--matrix
hydra--matrix is a byte-compiled function defined in hydra.el.
Signature
(hydra--matrix LST ROWS COLS)
Documentation
Create a matrix from elements of LST.
The matrix size is ROWS times COLS.
Source Code
;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
(defun hydra--matrix (lst rows cols)
"Create a matrix from elements of LST.
The matrix size is ROWS times COLS."
(let ((ls (copy-sequence lst))
res)
(dotimes (_c cols)
(push (hydra--pad (hydra-multipop ls rows) rows) res))
(nreverse res)))