branch: externals/elisp-benchmarks commit 02c4c41a61b169e380f6b207084700d7376648b4 Author: Andrea Corallo <a...@sdf.org> Commit: Andrea Corallo <a...@sdf.org>
* elisp-benchmarks.el (elisp-benchmarks-run): Fix for non-native emacs --- elisp-benchmarks.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elisp-benchmarks.el b/elisp-benchmarks.el index ad79247..90e0642 100644 --- a/elisp-benchmarks.el +++ b/elisp-benchmarks.el @@ -4,7 +4,7 @@ ;; Author: Andrea Corallo <a...@sdf.org> ;; Maintainer: Andrea Corallo <a...@sdf.org> -;; Version: 1.12 +;; Version: 1.13 ;; Keywords: languages, lisp ;; Package-Type: multi ;; Created: 2019-01-12 @@ -92,7 +92,7 @@ RECOMPILE all the benchmark folder when non nil." (when current-prefix-arg (list (read-regexp "Run benchmark matching: ")))) (let* ((native-comp-speed elb-speed) - (compile-function (if (fboundp 'native-compile) + (compile-function (if (featurep 'native-compile) #'native-compile #'byte-compile-file)) (res (make-hash-table :test #'equal))