]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-compile-file): Bind default-major-mode to avoid randomness.
authorRichard M. Stallman <rms@gnu.org>
Sat, 25 Feb 1995 23:27:09 +0000 (23:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 25 Feb 1995 23:27:09 +0000 (23:27 +0000)
lisp/emacs-lisp/bytecomp.el

index f0015b8309c57bca1cdd46a7308109b62d8e16e5..9d4f632a48599b39eff729682f95fe30317e746c 100644 (file)
@@ -1194,6 +1194,7 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling."
       ;; Run hooks including the uncompression hook.
       ;; If they change the file name, then change it for the output also.
       (let ((buffer-file-name filename)
+           (default-major-mode 'emacs-lisp-mode)
            (enable-local-eval nil))
         (normal-mode)
         (setq filename buffer-file-name)))