Mercurial > emacs
changeset 10836:3c9b3505feef
(byte-compile-file): Bind default-major-mode to avoid randomness.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Feb 1995 23:27:09 +0000 |
parents | cd9261d8d347 |
children | 0e8db919d6bd |
files | lisp/emacs-lisp/bytecomp.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el Sat Feb 25 21:28:36 1995 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sat Feb 25 23:27:09 1995 +0000 @@ -1194,6 +1194,7 @@ ;; 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)))