comparison lisp/emacs-lisp/autoload.el @ 80490:5b93ac4c9636

(autoload-generate-file-autoloads): Bind print-level to ensure output forms aren't truncated if print-level is set to eval-expression-print-level when going via eval-defun and friends, or has been otherwise fiddled with.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 11 Apr 2008 01:59:14 +0000
parents 78ee6fae0e41
children ca9efc5939fc
comparison
equal deleted inserted replaced
80489:fc6d47996893 80490:5b93ac4c9636
299 (load-name (let ((name (file-name-nondirectory file))) 299 (load-name (let ((name (file-name-nondirectory file)))
300 (if (string-match "\\.elc?\\(\\.\\|$\\)" name) 300 (if (string-match "\\.elc?\\(\\.\\|$\\)" name)
301 (substring name 0 (match-beginning 0)) 301 (substring name 0 (match-beginning 0))
302 name))) 302 name)))
303 (print-length nil) 303 (print-length nil)
304 (print-level nil)
304 (print-readably t) ; This does something in Lucid Emacs. 305 (print-readably t) ; This does something in Lucid Emacs.
305 (float-output-format nil) 306 (float-output-format nil)
306 (done-any nil) 307 (done-any nil)
307 (visited (get-file-buffer file)) 308 (visited (get-file-buffer file))
308 output-start) 309 output-start)