Function: checkdoc-run-hooks
checkdoc-run-hooks is a function alias for
run-hook-with-args-until-success, defined in eval.c.
This function is obsolete since 28.1; use
run-hook-with-args-until-success instead.
Signature
(checkdoc-run-hooks HOOK &rest ARGS)
Documentation
Run HOOK with the specified arguments ARGS.
HOOK should be a symbol, a hook variable. The value of HOOK may be nil, a function, or a list of functions. Call each function in order with arguments ARGS, stopping at the first one that returns non-nil, and return that value. Otherwise (if all functions return nil, or if there are no functions to call), return nil.
Do not use make-local-variable to make a hook variable buffer-local.
Instead, use add-hook and specify t for the LOCAL argument.
Aliases
checkdoc-run-hooks (obsolete since 28.1)