summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-25 03:01:28 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-25 03:01:28 +0000
commit9a4abc08776847258d297d35a04a00ac518f364e (patch)
treeef5a7792ec14d8da80f16eb216fe30331dd4cbb8 /lisp/emacs-lisp
parentf0ddda270c5bf67bc1925be66fa15ebc328fc4fd (diff)
downloademacs-9a4abc08776847258d297d35a04a00ac518f364e.tar.gz
(byte-compile-output-docform):
Bind print-gensym-alist; bind print-gensym to a cons cell.
Diffstat (limited to 'lisp/emacs-lisp')
-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 @@
;;; 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))