]> git.eshelyaron.com Git - emacs.git/commitdiff
* Interactive tag native compilation function in emacs-lisp-mode
authorAndrea Corallo <akrl@sdf.org>
Fri, 26 Feb 2021 18:57:41 +0000 (19:57 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 26 Feb 2021 18:57:41 +0000 (19:57 +0100)
* lisp/progmodes/elisp-mode.el
(emacs-lisp-native-compile-and-load): Tag it for `emacs-lisp-mode'.

lisp/progmodes/elisp-mode.el

index 408da8a9628fbdd7e26ee4bcc47ec2e31f300574..d040fdda28cfc2f1305f61dfd91ec5a173bdfc1d 100644 (file)
@@ -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)))