refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an :around advice.
This commit is contained in:
parent
12732be155
commit
06392a723f
51 changed files with 223 additions and 229 deletions
|
@ -9,7 +9,7 @@
|
|||
;;;###package hydra
|
||||
(setq lv-use-separator t)
|
||||
|
||||
(defadvice! +hydra--inhibit-window-switch-hooks-a (orig-fn)
|
||||
(defadvice! +hydra--inhibit-window-switch-hooks-a (fn)
|
||||
:around #'lv-window
|
||||
(let ((doom-inhibit-switch-window-hooks t))
|
||||
(funcall orig-fn)))
|
||||
(funcall fn)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue