summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/elisp-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 408da8a9628..d040fdda28c 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -212,7 +212,7 @@ Load the compiled code when finished.
Use `emacs-lisp-byte-compile-and-load' in combination with
`comp-deferred-compilation' set to `t' to achieve asynchronous
native compilation."
- (interactive)
+ (interactive nil emacs-lisp-mode)
(emacs-lisp--before-compile-buffer)
(load (native-compile buffer-file-name)))