diff --git a/core/core-lib.el b/core/core-lib.el index 9fc5ee0aa..7f71cad74 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -294,7 +294,9 @@ Examples: (add-hook! :append :local (one-mode second-mode) (setq v 5) (setq a 2)) Body forms can access the hook's arguments through the let-bound variable -`args'." +`args'. + +\(fn [:append :local] HOOKS FUNCTIONS)" (declare (indent defun) (debug t)) (let ((hook-fn 'add-hook) append-p local-p) @@ -325,7 +327,9 @@ Body forms can access the hook's arguments through the let-bound variable (defmacro remove-hook! (&rest args) "Convenience macro for `remove-hook'. Takes the same arguments as -`add-hook!'." +`add-hook!'. + +\(fn [:append :local] HOOKS FUNCTIONS)" (declare (indent defun) (debug t)) `(add-hook! :remove ,@args))