comparison lisp/emacs-lisp/autoload.el @ 81800:e29d41367d51

(autoload-generate-file-autoloads): Be careful with EOLs when generating MD5 checksums.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 10 Jul 2007 18:05:36 +0000
parents 8aa7f1b66163
children 3bb49962b482
comparison
equal deleted inserted replaced
81799:a1047475197b 81800:e29d41367d51
430 ;; (loaddefs.el) where we have special ways to 430 ;; (loaddefs.el) where we have special ways to
431 ;; circumvent the "random change problem", and MD5 431 ;; circumvent the "random change problem", and MD5
432 ;; checksum in secondary autoload files where we do 432 ;; checksum in secondary autoload files where we do
433 ;; not need the time-stamp optimization because it is 433 ;; not need the time-stamp optimization because it is
434 ;; already provided by the primary autoloads file. 434 ;; already provided by the primary autoloads file.
435 (md5 secondary-autoloads-file-buf nil nil 'emacs-mule) 435 (md5 secondary-autoloads-file-buf
436 ;; We'd really want to just use
437 ;; `emacs-internal' instead.
438 nil nil 'emacs-mule-unix)
436 (nth 5 (file-attributes relfile)))) 439 (nth 5 (file-attributes relfile))))
437 (insert ";;; Generated autoloads from " relfile "\n")) 440 (insert ";;; Generated autoloads from " relfile "\n"))
438 (insert generate-autoload-section-trailer)))) 441 (insert generate-autoload-section-trailer))))
439 (message "Generating autoloads for %s...done" file)) 442 (message "Generating autoloads for %s...done" file))
440 (or visited 443 (or visited