From ac276bcd3ce8ac2c94271e5ed81c2b869015e845 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 16 Sep 2019 12:07:32 -0400 Subject: [PATCH] Correct eldoc signature for {add,remove}-hook! --- core/core-lib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 6f173459e..36589b481 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -242,7 +242,7 @@ This macro accepts, in order: 3. The function(s) to be added: this can be one function, a list thereof, a list of `defun's, or body forms (implicitly wrapped in a closure). -\(fn [:append :local] HOOKS FUNCTIONS)" +\(fn HOOKS [:append :local] FUNCTIONS)" (declare (indent (lambda (indent-point state) (goto-char indent-point) (when (looking-at-p "\\s-*(") @@ -294,7 +294,7 @@ Takes the same arguments as `add-hook!'. If N and M = 1, there's no benefit to using this macro over `remove-hook'. -\(fn [:append :local] HOOKS FUNCTIONS)" +\(fn HOOKS [:append :local] FUNCTIONS)" (declare (indent defun) (debug t)) `(add-hook! ,hooks :remove ,@rest))