summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-02-26 19:57:41 +0100
committerAndrea Corallo <akrl@sdf.org>2021-02-26 19:57:41 +0100
commitb84c1727ea035cd47ab9ac5cb6627d402896f21d (patch)
tree0e58878edee63a931d1e7ee1594c563ae23da272 /lisp
parent5c922cc3a4b0677805a678267df2b7598e92bb83 (diff)
downloademacs-b84c1727ea035cd47ab9ac5cb6627d402896f21d.tar.gz
emacs-b84c1727ea035cd47ab9ac5cb6627d402896f21d.tar.bz2
emacs-b84c1727ea035cd47ab9ac5cb6627d402896f21d.zip
* Interactive tag native compilation function in emacs-lisp-mode
* lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile-and-load): Tag it for `emacs-lisp-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)))