]> git.eshelyaron.com Git - emacs.git/commitdiff
correct info documentation of benchmark-call
authorRobert Pluim <rpluim@gmail.com>
Tue, 4 Jul 2023 15:21:54 +0000 (17:21 +0200)
committerRobert Pluim <rpluim@gmail.com>
Tue, 4 Jul 2023 15:35:40 +0000 (17:35 +0200)
* doc/lispref/debugging.texi (Profiling): 'benchmark-call' is a defun,
not a macro.

doc/lispref/debugging.texi

index ea11d2d8d9c92923e975fe1c5f464c2487fc5a3c..169e3ac37d337d378ffd01208c5ab0aae445f467 100644 (file)
@@ -1102,9 +1102,9 @@ functions written in Lisp, it cannot profile Emacs primitives.
 You can measure the time it takes to evaluate individual Emacs Lisp
 forms using the @file{benchmark} library.  See the function
 @code{benchmark-call} as well as the macros @code{benchmark-run},
-@code{benchmark-run-compiled}, @code{benchmark-progn} and
-@code{benchmark-call} in @file{benchmark.el}.  You can also use the
-@code{benchmark} command for timing forms interactively.
+@code{benchmark-run-compiled}, and @code{benchmark-progn} in
+@file{benchmark.el}.  You can also use the @code{benchmark} command
+for timing forms interactively.
 
 @c Not worth putting in the printed manual.
 @ifnottex