diff options
-rw-r--r-- | lisp/progmodes/elisp-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index c7474b25a78..10a37942571 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -210,7 +210,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") (emacs-lisp--before-compile-buffer) (require 'bytecomp) (byte-recompile-file buffer-file-name nil 0) - (load buffer-file-name)) + (load (byte-compile-dest-file buffer-file-name))) (declare-function native-compile "comp") (defun emacs-lisp-native-compile-and-load () |