emacs-diffs
[Top][All Lists]
Advanced

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

scratch/elisp-benchmarks 5738562f549 48/54: * elisp-benchmarks.el (nativ


From: Pip Cet
Subject: scratch/elisp-benchmarks 5738562f549 48/54: * elisp-benchmarks.el (native-comp-speed, compilation-safety): Fix warning.
Date: Mon, 30 Dec 2024 22:40:45 -0500 (EST)

branch: scratch/elisp-benchmarks
commit 5738562f5492ede7f297805e66fd5ce6dabfdf3a
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * elisp-benchmarks.el (native-comp-speed, compilation-safety): Fix warning.
---
 elisp-benchmarks/elisp-benchmarks.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/elisp-benchmarks/elisp-benchmarks.el 
b/elisp-benchmarks/elisp-benchmarks.el
index c801416989e..abbce4d236c 100644
--- a/elisp-benchmarks/elisp-benchmarks.el
+++ b/elisp-benchmarks/elisp-benchmarks.el
@@ -47,11 +47,8 @@
 (require 'outline)
 (require 'org)
 (require 'bytecomp)
-(if (featurep 'native-compile)
-    (require 'comp)
-  (defvar native-comp-speed))
-(unless (boundp 'compilation-safety)
-  (defvar compilation-safety))
+(defvar native-comp-speed)
+(defvar compilation-safety)
 
 (defgroup elb nil
   "Emacs Lisp benchmarks."



reply via email to

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