From b077f0456897cdff4a7db924b081e628d6fbf572 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 25 Jul 1997 03:01:28 +0000 Subject: [PATCH] (byte-compile-output-docform): Bind print-gensym-alist; bind print-gensym to a cons cell. --- lisp/emacs-lisp/bytecomp.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f3d2d22f5ac..351baaef472 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -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 @@ list that represents a doc string reference. (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)) -- 2.39.5