docs(lib): clarify type of add-hook!'s first arg
This commit is contained in:
parent
b47440010f
commit
ade96ed515
1 changed files with 3 additions and 3 deletions
|
@ -604,9 +604,9 @@ This macro accepts, in order:
|
||||||
variables.
|
variables.
|
||||||
2. Optional properties :local, :append, and/or :depth [N], which will make the
|
2. Optional properties :local, :append, and/or :depth [N], which will make the
|
||||||
hook buffer-local or append to the list of hooks (respectively),
|
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
|
3. The function(s) to be added: this can be a quoted function, a quoted list
|
||||||
thereof, a list of `defun's, or body forms (implicitly wrapped in a
|
thereof, a list of `defun' or `cl-defun' forms, or arbitrary forms (will
|
||||||
lambda).
|
implicitly be wrapped in a lambda).
|
||||||
|
|
||||||
\(fn HOOKS [:append :local [:depth N]] FUNCTIONS-OR-FORMS...)"
|
\(fn HOOKS [:append :local [:depth N]] FUNCTIONS-OR-FORMS...)"
|
||||||
(declare (indent (lambda (indent-point state)
|
(declare (indent (lambda (indent-point state)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue