diff lisp/emacs-lisp/bytecomp.el @ 18960:12a8bc6cb225

(byte-compile-output-docform): Bind print-gensym-alist; bind print-gensym to a cons cell.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Jul 1997 03:01:28 +0000
parents 45fd6af9ccde
children baaf02a51ba2
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Fri Jul 25 03:00:41 1997 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Fri Jul 25 03:01:28 1997 +0000
@@ -10,7 +10,7 @@
 
 ;;; This version incorporates changes up to version 2.10 of the 
 ;;; Zawinski-Furuseth compiler.
-(defconst byte-compile-version "$Revision: 2.31 $")
+(defconst byte-compile-version "$Revision: 2.32 $")
 
 ;; This file is part of GNU Emacs.
 
@@ -1522,7 +1522,11 @@
 	 (insert (car info))
 	 (let ((print-escape-newlines t)
 	       (print-quoted t)
-	       (print-gensym t)
+	       ;; Use a cons cell to say that we want
+	       ;; print-gensym-alist not to be cleared
+	       ;; between calls to print functions.
+	       (print-gensym '(t))
+	       print-gensym-alist
 	       (index 0))
 	   (prin1 (car form) outbuffer)
 	   (while (setq form (cdr form))