From: Andrea Corallo Date: Thu, 10 Aug 2023 08:34:01 +0000 (+0200) Subject: * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition. X-Git-Tag: emacs-29.1.90~227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4535aafa8a34b659e4ab18f0188fc8d9332f4e97;p=emacs.git * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition. --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 5343be48bb3..4d92bed6236 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -86,8 +86,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map." :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))] + :active (native-comp-available-p)] ["Disassemble Byte Compiled Object..." disassemble :help "Print disassembled code for OBJECT in a buffer"] "---"