diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-16 11:08:02 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-16 17:17:23 +0100 |
commit | 17d65c99cd812e085d85f790c83ec0d540490a55 (patch) | |
tree | 21bce18eca8f858d3163cc9bcc677543903669a5 /lisp/ibuffer.el | |
parent | b01d0246d71a7a3fd92b2864a3c0c0bc9367ee0b (diff) | |
download | emacs-17d65c99cd812e085d85f790c83ec0d540490a55.tar.gz emacs-17d65c99cd812e085d85f790c83ec0d540490a55.tar.bz2 emacs-17d65c99cd812e085d85f790c83ec0d540490a55.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 'lisp/ibuffer.el')
0 files changed, 0 insertions, 0 deletions