comparison lisp/emacs-lisp/bytecomp.el @ 16159:d4b674c08fe1

(byte-compile-output-file-form): Bind print-quoted and print-gensym to t when writing compiled byte-code objects. (byte-compile-output-docform): Likewise.
author Erik Naggum <erik@naggum.no>
date Tue, 10 Sep 1996 23:00:29 +0000
parents eb953f4baf7b
children d79492598ec8
comparison
equal deleted inserted replaced
16158:af6ef293cb42 16159:d4b674c08fe1
1463 (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil 1463 (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil
1464 (eq (car form) 'autoload)) 1464 (eq (car form) 'autoload))
1465 (let ((print-escape-newlines t) 1465 (let ((print-escape-newlines t)
1466 (print-length nil) 1466 (print-length nil)
1467 (print-level nil) 1467 (print-level nil)
1468 (print-readably t) ; print #[] for bytecode, 'x for (quote x) 1468 (print-quoted t)
1469 (print-gensym nil)) ; this is too dangerous for now 1469 (print-gensym t))
1470 (princ "\n" outbuffer) 1470 (princ "\n" outbuffer)
1471 (prin1 form outbuffer) 1471 (prin1 form outbuffer)
1472 nil))) 1472 nil)))
1473 1473
1474 (defun byte-compile-output-docform (preface name info form specindex quoted) 1474 (defun byte-compile-output-docform (preface name info form specindex quoted)
1512 (progn 1512 (progn
1513 (insert preface) 1513 (insert preface)
1514 (prin1 name outbuffer))) 1514 (prin1 name outbuffer)))
1515 (insert (car info)) 1515 (insert (car info))
1516 (let ((print-escape-newlines t) 1516 (let ((print-escape-newlines t)
1517 (print-readably t) ; print #[] for bytecode, 'x for (quote x) 1517 (print-quoted t)
1518 (print-gensym nil) ; this is too dangerous for now 1518 (print-gensym t)
1519 (index 0)) 1519 (index 0))
1520 (prin1 (car form) outbuffer) 1520 (prin1 (car form) outbuffer)
1521 (while (setq form (cdr form)) 1521 (while (setq form (cdr form))
1522 (setq index (1+ index)) 1522 (setq index (1+ index))
1523 (insert " ") 1523 (insert " ")