summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-mode-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-12-16 11:08:02 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-12-16 19:18:34 +0100
commit30d2b72c4124b351026a8a5420686d5dc04ecc61 (patch)
tree5a64b5e98866d05a1143581b365c3c897ae7fea8 /test/lisp/emacs-lisp/lisp-mode-tests.el
parent8624734504af4572525665c713a47e1b6f439a2c (diff)
downloademacs-30d2b72c4124b351026a8a5420686d5dc04ecc61.tar.gz
emacs-30d2b72c4124b351026a8a5420686d5dc04ecc61.tar.bz2
emacs-30d2b72c4124b351026a8a5420686d5dc04ecc61.zip
alist-get testfn argument evaluation correction
* lisp/emacs-lisp/gv.el (alist-get): Evaluate TESTFN exactly once (previously up to 3 times). Reduce the macro-expansion to include a call to either assoc or assq, not both; this reduces the generated code size in some cases.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions