# HG changeset patch # User Richard M. Stallman # Date 937025191 0 # Node ID ebc88533212e8b37640e6b513fe062b35edcd755 # Parent f39d91949fc4ac616b5886fe66ffc344ce6fb111 (byte-compile-output-docform): Bind print-gensym-alist for compatibility, and bind print-gensym in the old way for compatibility. diff -r f39d91949fc4 -r ebc88533212e lisp/emacs-lisp/bytecomp.el --- a/lisp/emacs-lisp/bytecomp.el Sat Sep 11 04:44:23 1999 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sat Sep 11 04:46:31 1999 +0000 @@ -9,7 +9,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.56 $") +(defconst byte-compile-version "$Revision: 2.57 $") ;; This file is part of GNU Emacs. @@ -1643,7 +1643,13 @@ (insert (car info)) (let ((print-escape-newlines t) (print-quoted t) - (print-gensym t) + ;; For compatibility with code before print-circle, + ;; 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 was used before print-circle existed. + print-gensym-alist (print-continuous-numbering t) print-number-table (index 0))