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

@ -141,7 +141,7 @@ immediately runs it on the current candidate (ending the ivy session)."
"C-o" #'+ivy@coo/body
"M-o" #'ivy-dispatching-done-hydra)
:config
(def-hydra! +ivy@coo (:hint nil :color pink)
(defhydra +ivy@coo (:hint nil :color pink)
"
Move ^^^^^^^^^^ | Call ^^^^ | Cancel^^ | Options^^ | Action _w_/_s_/_a_: %s(ivy-action-name)
----------^^^^^^^^^^-+--------------^^^^-+-------^^-+--------^^-+---------------------------------

View file

@ -33,7 +33,7 @@
(ignore (git-gutter))))
(add-hook 'doom-escape-hook #'+version-control|update-git-gutter t))
(def-hydra! +version-control@git-gutter
(defhydra +version-control@git-gutter
(:body-pre (git-gutter-mode 1) :hint nil)
"

View file

@ -28,11 +28,11 @@
(defalias #'smerge-diff-upper-lower #'smerge-diff-mine-other)
(defalias #'smerge-diff-base-lower #'smerge-diff-base-other)))
(def-hydra! +hydra-smerge (:hint nil
:pre (smerge-mode 1)
;; Disable `smerge-mode' when quitting hydra if
;; no merge conflicts remain.
:post (smerge-auto-leave))
(defhydra +hydra-smerge (:hint nil
:pre (smerge-mode 1)
;; Disable `smerge-mode' when quitting hydra if
;; no merge conflicts remain.
:post (smerge-auto-leave))
"
Movement Keep Diff Other smerge

View file

@ -45,7 +45,7 @@
;; Avy is required for showing links in the notebook list with ace-link.
(require 'avy)
;; add hydra
(def-hydra! +ein/hydra (:hint t :color red)
(defhydra +ein/hydra (:hint t :color red)
"
Operations on Cells^^^^^^ Other
----------------------------^^^^^^ ----------------------------------^^^^

View file

@ -10,7 +10,7 @@
(def-package! kurecolor
:after rainbow-mode
:config
(def-hydra! +rgb@kurecolor (:color pink :hint nil)
(defhydra +rgb@kurecolor (:color pink :hint nil)
"
Inc/Dec _w_/_W_ brightness _d_/_D_ saturation _e_/_E_ hue "
("w" kurecolor-decrease-brightness-by-step)