From 4535aafa8a34b659e4ab18f0188fc8d9332f4e97 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Thu, 10 Aug 2023 10:34:01 +0200 Subject: [PATCH] * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition. --- lisp/progmodes/elisp-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"] "---" -- 2.39.2