diff options
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index a4289b6800d..fdb094450c3 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -292,7 +292,9 @@ autoloads go somewhere else.") | |||
| 292 | ;; the local variables section if it's there. | 292 | ;; the local variables section if it's there. |
| 293 | (if existing-buffer | 293 | (if existing-buffer |
| 294 | (set-buffer existing-buffer)) | 294 | (set-buffer existing-buffer)) |
| 295 | (set-buffer (find-file-noselect generated-autoload-file)) | 295 | ;; We must read/write the file without any code conversion. |
| 296 | (let ((coding-system-for-read 'no-conversion)) | ||
| 297 | (set-buffer (find-file-noselect generated-autoload-file))) | ||
| 296 | (save-excursion | 298 | (save-excursion |
| 297 | (save-restriction | 299 | (save-restriction |
| 298 | (widen) | 300 | (widen) |