summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2023-05-04 17:37:17 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2023-05-05 22:00:28 +0200
commit044392c5c563a0bb2c24b65e5222b8f9b3cbe0d8 (patch)
tree2d6421dec3cc10aca7addee045e9836ce1cb13f8 /test/lisp/emacs-lisp/lisp-tests.el
parent3b038d46e24532bc4bca56f37d30afd70fae388d (diff)
downloademacs-044392c5c563a0bb2c24b65e5222b8f9b3cbe0d8.tar.gz
emacs-044392c5c563a0bb2c24b65e5222b8f9b3cbe0d8.tar.bz2
emacs-044392c5c563a0bb2c24b65e5222b8f9b3cbe0d8.zip
Constant-propagate cons and vector literals
* lisp/emacs-lisp/byte-opt.el (byte-optimize--substitutable-p): Allow quoted lists and conses, and vector literals, to be substituted from lexical variables. This can eliminate variable bindings and create new constant folding opportunities.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-tests.el')
0 files changed, 0 insertions, 0 deletions