From: Eli Zaretskii Date: Mon, 6 Sep 2021 10:12:30 +0000 (+0300) Subject: Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs X-Git-Tag: emacs-28.0.90~1150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0a0eb5460320c1e297d5246884fa5db28181c0b;p=emacs.git Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs --- c0a0eb5460320c1e297d5246884fa5db28181c0b diff --cc etc/NEWS index 8a6b632e036,2d15ada4384..b7dc8f4327b --- a/etc/NEWS +++ b/etc/NEWS @@@ -3321,10 -3286,13 +3321,14 @@@ It is written as '(:success BODY...)' w whenever the protected form terminates without error, with the specified variable bound to the the value of the protected form. + ** New function 'benchmark-call' to measure the execution time of a function. + Additionally, the number of repetitions can be expressed as a minimal duration + in seconds. + +++ -** A function can now be thrown to the 'exit' label in addition to t or nil. -The command loop will call it with zero arguments before returning. +** The value thrown to the 'exit' label can now be a function. +This is in addition to values t or nil. If the value is a function, +the command loop will call it with zero arguments before returning. +++ ** The behavior of 'format-spec' is now closer to that of 'format'.