From: Richard M. Stallman Date: Sat, 11 Sep 1999 04:46:31 +0000 (+0000) Subject: (byte-compile-output-docform): Bind print-gensym-alist for compatibility, X-Git-Tag: emacs-pretest-21.0.90~6806 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3606c1c576586bcbe8b98e5031574442411e6344;p=emacs.git (byte-compile-output-docform): Bind print-gensym-alist for compatibility, and bind print-gensym in the old way for compatibility. --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 63f9d395e63..836a0db9ae9 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -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 @@ list that represents a doc string reference. (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))