Function: pair-with-newsyms

pair-with-newsyms is a byte-compiled function defined in cl-compat.el.gz.

Signature

(pair-with-newsyms OLDFORMS)

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/cl-compat.el.gz
;; Internal routines.

(defun pair-with-newsyms (oldforms)
  (let ((newsyms (mapcar (lambda (_) (make-symbol "--cl-var--")) oldforms)))
    (Values (cl-mapcar #'list newsyms oldforms) newsyms)))