]> git.eshelyaron.com Git - emacs.git/commitdiff
(update-file-autoloads): Read loaddefs.el without
authorKarl Heuer <kwzh@gnu.org>
Thu, 20 Feb 1997 05:39:18 +0000 (05:39 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 20 Feb 1997 05:39:18 +0000 (05:39 +0000)
any code conversion.

lisp/emacs-lisp/autoload.el

index a4289b6800df014924de4d9bfe985eaa9507c9be..fdb094450c387a56ead2ae063c52898795ebe917 100644 (file)
@@ -292,7 +292,9 @@ autoloads go somewhere else.")
       ;; the local variables section if it's there.
       (if existing-buffer
          (set-buffer existing-buffer))
-      (set-buffer (find-file-noselect generated-autoload-file))
+      ;; We must read/write the file without any code conversion.
+      (let ((coding-system-for-read 'no-conversion))
+       (set-buffer (find-file-noselect generated-autoload-file)))
       (save-excursion
        (save-restriction
          (widen)