Function: cps--with-dynamic-binding

cps--with-dynamic-binding is a macro defined in generator.el.gz.

Signature

(cps--with-dynamic-binding DYNAMIC-VAR STATIC-VAR &rest BODY)

Documentation

Run BODY's atomic evaluations run with DYNAMIC-VAR bound to STATIC-VAR.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/generator.el.gz
(defmacro cps--with-dynamic-binding (dynamic-var static-var &rest body)
  "Run BODY's atomic evaluations run with DYNAMIC-VAR bound to STATIC-VAR."
  (declare (indent 2))
  `(cps--with-value-wrapper
       (cps--make-dynamic-binding-wrapper ,dynamic-var ,static-var)
     ,@body))