diff --git a/core/core-lib.el b/core/core-lib.el index c6ff2ab27..f605a626c 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -278,7 +278,7 @@ This macro accepts, in order: (mapcar #'doom-unquote rest) (doom-enlist (doom-unquote (car rest)))))) - ((setq func-forms (list `(lambda () ,@rest))))) + ((setq func-forms (list `(lambda (&rest _) ,@rest))))) (dolist (hook hook-forms) (dolist (func func-forms) (push (if remove-p