diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f0015b8309c..9d4f632a485 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -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))) |