]> git.eshelyaron.com Git - emacs.git/commitdiff
(pair-with-newsyms): Use make-symbol.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Nov 2004 04:04:50 +0000 (04:04 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 16 Nov 2004 04:04:50 +0000 (04:04 +0000)
lisp/emacs-lisp/cl-compat.el

index c3fbbe0993b729979195a36cfe2d4cbfd72bec7a..baef6cb069d5217b1c38cae34cd8e89db0ccff20 100644 (file)
@@ -1,6 +1,6 @@
 ;;; cl-compat.el --- Common Lisp extensions for GNU Emacs Lisp (compatibility)
 
-;; Copyright (C) 1993 Free Software Foundation, Inc.
+;; Copyright (C) 1993, 2004  Free Software Foundation, Inc.
 
 ;; Author: Dave Gillespie <daveg@synaptics.com>
 ;; Version: 2.02
 ;; Internal routines.
 
 (defun pair-with-newsyms (oldforms)
-  (let ((newsyms (mapcar (function (lambda (x) (gensym))) oldforms)))
+  (let ((newsyms (mapcar (lambda (x) (make-symbol "--cl-var--")) oldforms)))
     (Values (mapcar* 'list newsyms oldforms) newsyms)))
 
 (defun zip-lists (evens odds)
 
 (provide 'cl-compat)
 
-;;; arch-tag: 9996bb4f-aaf5-4592-b436-bf64759a3163
+;; arch-tag: 9996bb4f-aaf5-4592-b436-bf64759a3163
 ;;; cl-compat.el ends here