Function: ediff-minibuffer-with-setup-hook

ediff-minibuffer-with-setup-hook is a for minibuffer-with-setup-hook, defined in files.el.gz.

This macro is obsolete since 28.1; use minibuffer-with-setup-hook instead.

Signature

(ediff-minibuffer-with-setup-hook FUN &rest BODY)

Documentation

Temporarily add FUN to minibuffer-setup-hook while executing BODY.

By default, FUN is prepended to minibuffer-setup-hook. But if FUN is of the form (:append FUN1), FUN1 will be appended to minibuffer-setup-hook instead of prepending it.

BODY should use the minibuffer at most once. Recursive uses of the minibuffer are unaffected (FUN is not called additional times).

This macro actually adds an auxiliary function that calls FUN, rather than FUN itself, to minibuffer-setup-hook.

Aliases

ediff-minibuffer-with-setup-hook (obsolete since 28.1)