Function: run-hook-wrapped
run-hook-wrapped is a function defined in eval.c.
Signature
(run-hook-wrapped HOOK WRAP-FUNCTION &rest ARGS)
Documentation
Run HOOK, passing each function through WRAP-FUNCTION.
I.e. instead of calling each function FUN directly with arguments ARGS,
it calls WRAP-FUNCTION with arguments FUN and ARGS.
As soon as a call to WRAP-FUNCTION returns non-nil, run-hook-wrapped
aborts and returns that value.
Probably introduced at or before Emacs version 24.1.
Source Code
// Defined in /usr/src/emacs/src/eval.c
{
return run_hook_with_args (nargs, args, run_hook_wrapped_funcall);
}