Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hydra-ox.el (hydra-ox): Update parameter list
The `defhydradio' spec for each parameter was updated to: (name &optional doc value) This way, it's easy to define this type of hydra: (defhydradio hydra-tng () (picard "_p_ Captain Jean Luc Picard:") (riker "_r_ Commander William Riker:") (data "_d_ Lieutenant Commander Data:") (worf "_w_ Worf:") (la-forge "_f_ Geordi La Forge:") (troi "_t_ Deanna Troi:") (dr-crusher "_c_ Doctor Beverly Crusher:") (phaser "_h_ Set phasers to " [stun kill])) (defhydra hydra-tng (:color pink) (concat (hydra--table hydra-tng/names 7 2 '(" % -30s %% -3`%s" "%s %%`%s")) "\n\n") ("p" (hydra-tng/picard) nil) ("r" (hydra-tng/riker) nil) ("d" (hydra-tng/data) nil) ("w" (hydra-tng/worf) nil) ("f" (hydra-tng/la-forge) nil) ("t" (hydra-tng/troi) nil) ("c" (hydra-tng/dr-crusher) nil) ("h" (hydra-tng/phaser) nil) ("b" beam-down "beam down" :exit t) ("o" (hydra-reset-radios hydra-tng/names) "reset") ("q" nil "cancel"))
- Loading branch information