Function: run-hook-with-args

run-hook-with-args is a function defined in eval.c.

Signature

(run-hook-with-args 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. The final return value is unspecified.

Do not use make-local-variable to make a hook variable buffer-local. Instead, use add-hook and specify t for the LOCAL argument.

View in manual

Source Code

// Defined in /usr/src/emacs/src/eval.c
{
  return run_hook_with_args (nargs, args, funcall_nil);
}