Add native-compilation to Emacs Lisp mode menu
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu item for emacs-lisp-native-compile-and-load.
This commit is contained in:
parent
b93107c20b
commit
913e50aba6
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ 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 and Load" emacs-lisp-native-compile-and-load
|
||||
:help "Compile the current file to native code, then load compiled native code"
|
||||
:active (and (featurep 'native-compile)
|
||||
(native-comp-available-p))]
|
||||
["Disassemble Byte Compiled Object..." disassemble
|
||||
:help "Print disassembled code for OBJECT in a buffer"]
|
||||
"---"
|
||||
|
|
Loading…
Add table
Reference in a new issue