Function: hydra--normalize-heads
hydra--normalize-heads is a byte-compiled function defined in
hydra.el.
Signature
(hydra--normalize-heads HEADS)
Documentation
Ensure each head from HEADS have a property :column.
Set it to the same value as preceding head or nil if no previous value was defined.
Source Code
;; Defined in ~/.emacs.d/elpa/hydra-20250316.1254/hydra.el
;; Following functions deal with automatic docstring table generation from :column head property
(defun hydra--normalize-heads (heads)
"Ensure each head from HEADS have a property :column.
Set it to the same value as preceding head or nil if no previous value
was defined."
(let ((current-col nil))
(mapcar (lambda (head)
(if (hydra--head-has-property head :column)
(setq current-col (hydra--head-property head :column)))
(hydra--head-set-property head :column current-col))
heads)))