Remove def-hydra! macro alias

Causes byte-compilation issues and the alias is unnecessary.
This commit is contained in:
Henrik Lissner 2018-05-24 22:03:17 +02:00
parent 7c611df6a6
commit 0b48575c14
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 13 additions and 16 deletions

View file

@ -60,15 +60,11 @@ If any hook returns non-nil, all hooks after it are ignored.")
(def-package! hydra
:commands (defhydra defhydradio)
:init
;; In case I later need to wrap defhydra in any special functionality.
(defalias 'def-hydra! 'defhydra)
(defalias 'def-hydra-radio! 'defhydradio)
:defer t
:config
(setq lv-use-seperator t)
(def-hydra! doom@text-zoom (:hint t :color red)
(defhydra doom@text-zoom (:hint t :color red)
"
Text zoom: _j_:zoom in, _k_:zoom out, _0_:reset
"
@ -76,7 +72,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
("k" text-scale-decrease "out")
("0" (text-scale-set 0) "reset"))
(def-hydra! doom@window-nav (:hint nil)
(defhydra doom@window-nav (:hint nil)
"
Split: _v_ert _s_:horz
Delete: _c_lose _o_nly