aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-25 03:01:28 +0000
committerRichard M. Stallman1997-07-25 03:01:28 +0000
commitb077f0456897cdff4a7db924b081e628d6fbf572 (patch)
tree47f6242be0a32089b2acbd63cfa113703c9cae53
parentb34a78db26159e7a881e38777b226a49e5d78b54 (diff)
downloademacs-b077f0456897cdff4a7db924b081e628d6fbf572.tar.gz
emacs-b077f0456897cdff4a7db924b081e628d6fbf572.zip
(byte-compile-output-docform):
Bind print-gensym-alist; bind print-gensym to a cons cell.
-rw-r--r--lisp/emacs-lisp/bytecomp.el8
1 files 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 @@
10 10
11;;; This version incorporates changes up to version 2.10 of the 11;;; This version incorporates changes up to version 2.10 of the
12;;; Zawinski-Furuseth compiler. 12;;; Zawinski-Furuseth compiler.
13(defconst byte-compile-version "$Revision: 2.31 $") 13(defconst byte-compile-version "$Revision: 2.32 $")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
16 16
@@ -1522,7 +1522,11 @@ list that represents a doc string reference.
1522 (insert (car info)) 1522 (insert (car info))
1523 (let ((print-escape-newlines t) 1523 (let ((print-escape-newlines t)
1524 (print-quoted t) 1524 (print-quoted t)
1525 (print-gensym t) 1525 ;; Use a cons cell to say that we want
1526 ;; print-gensym-alist not to be cleared
1527 ;; between calls to print functions.
1528 (print-gensym '(t))
1529 print-gensym-alist
1526 (index 0)) 1530 (index 0))
1527 (prin1 (car form) outbuffer) 1531 (prin1 (car form) outbuffer)
1528 (while (setq form (cdr form)) 1532 (while (setq form (cdr form))