]> git.eshelyaron.com Git - emacs.git/commitdiff
(autoload-generate-file-autoloads): Be careful
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Jul 2007 18:05:36 +0000 (18:05 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Jul 2007 18:05:36 +0000 (18:05 +0000)
with EOLs when generating MD5 checksums.

lisp/emacs-lisp/autoload.el

index 0fa89f2a1733ded4c738be7b5ec117f5f04315b3..d057ee028dc9d422decaab451c91e0f37c6c09c5 100644 (file)
@@ -432,7 +432,10 @@ Return non-nil iff FILE adds no autoloads to OUTFILE
                        ;; checksum in secondary autoload files where we do
                        ;; not need the time-stamp optimization because it is
                        ;; already provided by the primary autoloads file.
-                       (md5 secondary-autoloads-file-buf nil nil 'emacs-mule)
+                       (md5 secondary-autoloads-file-buf
+                            ;; We'd really want to just use
+                            ;; `emacs-internal' instead.
+                            nil nil 'emacs-mule-unix)
                      (nth 5 (file-attributes relfile))))
                   (insert ";;; Generated autoloads from " relfile "\n"))
                 (insert generate-autoload-section-trailer))))