diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-07-06 12:51:04 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-07-07 17:55:20 +0200 |
commit | df3ece9d2ed61c9526dbf718e3c96d72bd53dccb (patch) | |
tree | 2939fca286698ec92b33543ad4970ea6f27b8969 /lisp/emacs-lisp/eldoc.el | |
parent | 1a850f4b20d11938d68270147d3d5ebc3c4899f4 (diff) | |
download | emacs-df3ece9d2ed61c9526dbf718e3c96d72bd53dccb.tar.gz emacs-df3ece9d2ed61c9526dbf718e3c96d72bd53dccb.tar.bz2 emacs-df3ece9d2ed61c9526dbf718e3c96d72bd53dccb.zip |
Optimise assoc and rassoc with symbol key to assq and rassq
This is the same transformation made for member to memq.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-assoc): New function.
(assoc, rassoc): Set the byte-optimizer property.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
0 files changed, 0 insertions, 0 deletions