Debug Hydra

This commit is contained in:
Josef Vlach
2020-09-15 21:40:20 +01:00
parent ea94ba5360
commit 152e1b8cea
4 changed files with 49 additions and 4 deletions

View File

@@ -51,9 +51,7 @@
(defun gdscript-hydra-show ()
"Show gdcript hydra."
(interactive)
(when (not (featurep 'hydra))
(error "No `hydra.el' available. To execute `gdscript-hydra-show' command you need to install hydra.el"))
(gdscript-hydra--menu/body))
(gdscript-util--with-available-hydra (gdscript-hydra--menu/body)))
(defun gdscript-hydra--selected (selected)
"Visual representation for (non)SELECTED checkboxes."