diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-06-19 13:26:58 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-06-28 22:47:27 +0200 |
commit | d8aba87a0d5ef84dfedf4c6a73884fa6dc455b24 (patch) | |
tree | 122a6b6856c50059f09843f9a93b1ae30fef10d7 /lisp/emacs-lisp/macroexp.el | |
parent | d58fc4e8ece8ccafd5ef430a57c2a8b417c8e038 (diff) | |
download | emacs-d8aba87a0d5ef84dfedf4c6a73884fa6dc455b24.tar.gz emacs-d8aba87a0d5ef84dfedf4c6a73884fa6dc455b24.tar.bz2 emacs-d8aba87a0d5ef84dfedf4c6a73884fa6dc455b24.zip |
Strength-reduce `equal', `eql', `member' and `memql'
When comparing against symbols, turn `equal' and `eql' into `eq',
and `member' and `memql' into `memq'.
* lisp/emacs-lisp/byte-opt.el (byte-optimize--constant-symbol-p)
(byte-optimize-equal, byte-optimize-member): New.
(member, memql, equal, eql): Use new byte-optimizers.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions