aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2007-01-29 01:22:53 +0000
committerKenichi Handa2007-01-29 01:22:53 +0000
commit0e66b003a748db190268cd6463cc48645a4481e1 (patch)
treeb52f0047d69bd79767e10b416df394a0a52f04ee
parent5c4a60523827062803ab9a55b4325358225d66bf (diff)
downloademacs-0e66b003a748db190268cd6463cc48645a4481e1.tar.gz
emacs-0e66b003a748db190268cd6463cc48645a4481e1.zip
(byte-compile-disable-print-circle): New
variable. (byte-compile-output-file-form): Bing print-circle to nil if byte-compile-output-file-form is not nil. (byte-compile-output-docform): Likewise.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/emacs-lisp/bytecomp.el10
2 files changed, 16 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7d30691f1a6..663be6b8607 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12007-01-29 Kenichi Handa <handa@m17n.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): New
4 variable.
5 (byte-compile-output-file-form): Bing print-circle to nil if
6 byte-compile-output-file-form is not nil.
7 (byte-compile-output-docform): Likewise.
8
12007-01-28 Kim F. Storm <storm@cua.dk> 92007-01-28 Kim F. Storm <storm@cua.dk>
2 10
3 * emulation/cua-base.el (cua-global-keymap, cua--region-keymap): 11 * emulation/cua-base.el (cua-global-keymap, cua--region-keymap):
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4b31a0e6943..025d862c11d 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -296,6 +296,10 @@ When this option is true, if you load the compiled file and then move it,
296the functions you loaded will not be able to run.") 296the functions you loaded will not be able to run.")
297;;;###autoload(put 'byte-compile-dynamic 'safe-local-variable 'booleanp) 297;;;###autoload(put 'byte-compile-dynamic 'safe-local-variable 'booleanp)
298 298
299(defvar byte-compile-disable-print-circle nil
300 "If non-nil, disable `print-circle' on printing a byte-compiled code.")
301;;;###autoload(put 'byte-compile-disable-print-circle 'safe-local-variable 'booleanp)
302
299(defcustom byte-compile-dynamic-docstrings t 303(defcustom byte-compile-dynamic-docstrings t
300 "*If non-nil, compile doc strings for lazy access. 304 "*If non-nil, compile doc strings for lazy access.
301We bury the doc strings of functions and variables 305We bury the doc strings of functions and variables
@@ -2003,7 +2007,8 @@ With argument, insert value in current buffer after the form."
2003 (print-level nil) 2007 (print-level nil)
2004 (print-quoted t) 2008 (print-quoted t)
2005 (print-gensym t) 2009 (print-gensym t)
2006 (print-circle t)) ; handle circular data structures 2010 (print-circle ; handle circular data structures
2011 (not byte-compile-disable-print-circle)))
2007 (princ "\n" outbuffer) 2012 (princ "\n" outbuffer)
2008 (prin1 form outbuffer) 2013 (prin1 form outbuffer)
2009 nil))) 2014 nil)))
@@ -2060,7 +2065,8 @@ list that represents a doc string reference.
2060 ;; print-gensym-alist not to be cleared 2065 ;; print-gensym-alist not to be cleared
2061 ;; between calls to print functions. 2066 ;; between calls to print functions.
2062 (print-gensym '(t)) 2067 (print-gensym '(t))
2063 (print-circle t) ; handle circular data structures 2068 (print-circle ; handle circular data structures
2069 (not byte-compile-disable-print-circle))
2064 print-gensym-alist ; was used before print-circle existed. 2070 print-gensym-alist ; was used before print-circle existed.
2065 (print-continuous-numbering t) 2071 (print-continuous-numbering t)
2066 print-number-table 2072 print-number-table