Function: progv

progv is a function alias for cl-progv, defined in cl-macs.el.gz.

This macro is obsolete since 27.1; use cl-progv instead.

Signature

(progv SYMBOLS VALUES &rest BODY)

Documentation

Bind SYMBOLS to VALUES dynamically in BODY.

The forms SYMBOLS and VALUES are evaluated, and must evaluate to lists. Each symbol in the first list is bound to the corresponding value in the second list (or to nil if VALUES is shorter than SYMBOLS); then the BODY forms are executed and their result is returned. This is much like a let form, except that the list of symbols can be computed at run-time.

Probably introduced at or before Emacs version 24.3.

Aliases

progv (obsolete since 27.1)