diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-06-21 19:01:40 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-06-21 19:01:40 +0100 |
commit | 0792f8e4f0de2328c57d552a5845bdf77265a971 (patch) | |
tree | 8a1847b98bfd05ab47be45ed57f5553fc34d3a46 /lisp/emacs-lisp | |
parent | 8df2957df167bf34220fbf6a059752759ef41f4a (diff) | |
download | emacs-0792f8e4f0de2328c57d552a5845bdf77265a971.tar.gz emacs-0792f8e4f0de2328c57d552a5845bdf77265a971.tar.bz2 emacs-0792f8e4f0de2328c57d552a5845bdf77265a971.zip |
Revert last change in benchmark.el
For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2020-06/msg00791.html
* lisp/emacs-lisp/benchmark.el (benchmark-run-compiled): Revert to
giving byte-compile a form rather than a closure.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/benchmark.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el index 984c62ddd54..2fa5a878801 100644 --- a/lisp/emacs-lisp/benchmark.el +++ b/lisp/emacs-lisp/benchmark.el @@ -81,7 +81,7 @@ result. The overhead of the `lambda's is accounted for." (gcs (make-symbol "gcs")) (gc (make-symbol "gc")) (code (byte-compile `(lambda () ,@forms))) - (lambda-code (byte-compile (lambda ())))) + (lambda-code (byte-compile '(lambda ())))) `(let ((,gc gc-elapsed) (,gcs gcs-done)) (list ,(if (or (symbolp repetitions) (> repetitions 1)) |