doomemacs/modules/ui/hydra/config.el
Henrik Lissner 06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00

15 lines
424 B
EmacsLisp

;;; ui/hydra/config.el -*- lexical-binding: t; -*-
(use-package! hydra-examples
:commands (hydra-move-splitter-up
hydra-move-splitter-down
hydra-move-splitter-right
hydra-move-splitter-left))
;;;###package hydra
(setq lv-use-separator t)
(defadvice! +hydra--inhibit-window-switch-hooks-a (fn)
:around #'lv-window
(let ((doom-inhibit-switch-window-hooks t))
(funcall fn)))