diff options
| author | Miles Bader | 2007-01-24 13:57:38 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-01-24 13:57:38 +0000 |
| commit | 5e51de792cb52cdc186bfb12681b6b3dc1d3f6be (patch) | |
| tree | 6843ba364014583552162318ddf101abe06a89fe | |
| parent | b28080e33a9255254cfb7f6772704387202d9a8a (diff) | |
| download | emacs-5e51de792cb52cdc186bfb12681b6b3dc1d3f6be.tar.gz emacs-5e51de792cb52cdc186bfb12681b6b3dc1d3f6be.zip | |
Make byte compiler correctly write circular constants
2007-01-24 Miles Bader <miles@gnu.org>
* lisp/emacs-lisp/bytecomp.el (byte-compile-output-file-form)
(byte-compile-output-docform): Bind `print-circle' to t.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-614
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bdac77d83fc..306e84c3788 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-01-24 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-output-file-form) | ||
| 4 | (byte-compile-output-docform): Bind `print-circle' to t. | ||
| 5 | |||
| 1 | 2007-01-24 Kenichi Handa <handa@m17n.org> | 6 | 2007-01-24 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * international/ja-dic-cnv.el (skkdic-convert): Insert a related | 8 | * international/ja-dic-cnv.el (skkdic-convert): Insert a related |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 647ed490476..4b31a0e6943 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2002,7 +2002,8 @@ With argument, insert value in current buffer after the form." | |||
| 2002 | (print-length nil) | 2002 | (print-length nil) |
| 2003 | (print-level nil) | 2003 | (print-level nil) |
| 2004 | (print-quoted t) | 2004 | (print-quoted t) |
| 2005 | (print-gensym t)) | 2005 | (print-gensym t) |
| 2006 | (print-circle t)) ; handle circular data structures | ||
| 2006 | (princ "\n" outbuffer) | 2007 | (princ "\n" outbuffer) |
| 2007 | (prin1 form outbuffer) | 2008 | (prin1 form outbuffer) |
| 2008 | nil))) | 2009 | nil))) |
| @@ -2059,6 +2060,7 @@ list that represents a doc string reference. | |||
| 2059 | ;; print-gensym-alist not to be cleared | 2060 | ;; print-gensym-alist not to be cleared |
| 2060 | ;; between calls to print functions. | 2061 | ;; between calls to print functions. |
| 2061 | (print-gensym '(t)) | 2062 | (print-gensym '(t)) |
| 2063 | (print-circle t) ; handle circular data structures | ||
| 2062 | print-gensym-alist ; was used before print-circle existed. | 2064 | print-gensym-alist ; was used before print-circle existed. |
| 2063 | (print-continuous-numbering t) | 2065 | (print-continuous-numbering t) |
| 2064 | print-number-table | 2066 | print-number-table |