From ade96ed5155b906033343f3b9e906363a68fd7c1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Oct 2021 14:43:14 +0200 Subject: [PATCH] docs(lib): clarify type of add-hook!'s first arg --- core/core-lib.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index c9f39e767..13153c89d 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -604,9 +604,9 @@ This macro accepts, in order: variables. 2. Optional properties :local, :append, and/or :depth [N], which will make the hook buffer-local or append to the list of hooks (respectively), - 3. The function(s) to be added: this can be one function, a quoted list - thereof, a list of `defun's, or body forms (implicitly wrapped in a - lambda). + 3. The function(s) to be added: this can be a quoted function, a quoted list + thereof, a list of `defun' or `cl-defun' forms, or arbitrary forms (will + implicitly be wrapped in a lambda). \(fn HOOKS [:append :local [:depth N]] FUNCTIONS-OR-FORMS...)" (declare (indent (lambda (indent-point state)