emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 4535aafa8a3 2/3: * lisp/progmodes/elisp-mode.el (emacs-lisp-mod


From: Andrea Corallo
Subject: emacs-29 4535aafa8a3 2/3: * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition.
Date: Thu, 10 Aug 2023 04:45:06 -0400 (EDT)

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

    * 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"]
     "---"



reply via email to

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