changeset 17001:ce8565274e49

(update-file-autoloads): Read loaddefs.el without any code conversion.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Feb 1997 05:39:18 +0000
parents 7fc1577aa8e7
children 07144e5d208a
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Thu Feb 20 05:38:08 1997 +0000
+++ b/lisp/emacs-lisp/autoload.el	Thu Feb 20 05:39:18 1997 +0000
@@ -292,7 +292,9 @@
       ;; 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)