mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -155,7 +155,7 @@
|
||||
;; Advice
|
||||
|
||||
;;;###autoload
|
||||
(defun +notmuch-dont-confirm-on-kill-process-a (orig-fn &rest args)
|
||||
(defun +notmuch-dont-confirm-on-kill-process-a (fn &rest args)
|
||||
"Don't prompt for confirmation when killing notmuch sentinel."
|
||||
(let (confirm-kill-processes)
|
||||
(apply orig-fn args)))
|
||||
(apply fn args)))
|
||||
|
Reference in New Issue
Block a user