emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 889cfb42ed9 3/3: * Add `emacs-lisp-native-compile' to easy-menu


From: Andrea Corallo
Subject: emacs-29 889cfb42ed9 3/3: * Add `emacs-lisp-native-compile' to easy-menu.
Date: Thu, 10 Aug 2023 04:45:07 -0400 (EDT)

branch: emacs-29
commit 889cfb42ed9e857a7e813bb356bb2b5e588c89c0
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * Add `emacs-lisp-native-compile' to easy-menu.
    
    * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu
    item for emacs-lisp-native-compile.
---
 lisp/progmodes/elisp-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 4d92bed6236..bd3916ce108 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -84,6 +84,9 @@ All commands in `lisp-mode-shared-map' are inherited by this 
map."
      :help "Byte-compile the current file (if it has changed), then load 
compiled code"]
     ["Byte-recompile Directory..." byte-recompile-directory
      :help "Recompile every `.el' file in DIRECTORY that needs recompilation"]
+    ["Native-compile This File" emacs-lisp-native-compile
+     :help "Compile the current file containing the current buffer to native 
code"
+     :active (native-comp-available-p)]
     ["Native-compile and Load" emacs-lisp-native-compile-and-load
      :help "Compile the current file to native code, then load compiled native 
code"
      :active (native-comp-available-p)]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]