diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-09-11 04:46:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-09-11 04:46:31 +0000 |
commit | 3606c1c576586bcbe8b98e5031574442411e6344 (patch) | |
tree | 9915fa40d8dde20801bbd2e0633587b5a65ede71 /lisp/emacs-lisp/bytecomp.el | |
parent | 42e0601d4a9654d8cd873859244755454870cb25 (diff) | |
download | emacs-3606c1c576586bcbe8b98e5031574442411e6344.tar.gz emacs-3606c1c576586bcbe8b98e5031574442411e6344.tar.bz2 emacs-3606c1c576586bcbe8b98e5031574442411e6344.zip |
(byte-compile-output-docform): Bind print-gensym-alist for compatibility,
and bind print-gensym in the old way for compatibility.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 10 |
1 files changed, 8 insertions, 2 deletions
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)) |