]> git.eshelyaron.com Git - emacs.git/commit
Optimise (cons X nil) to (list X)
authorMattias Engdegård <mattiase@acm.org>
Thu, 3 Jun 2021 19:15:11 +0000 (21:15 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 3 Jun 2021 19:28:10 +0000 (21:28 +0200)
commita517b77ffe8ed8cdfeec1a9b5258fd16b2446214
treed0d336d70618a55792bd92998f9ea2b0ad8578ad
parentc3b44858dc9d9eeda4863ed6ffafbeb446374465
Optimise (cons X nil) to (list X)

* lisp/emacs-lisp/byte-opt.el (byte-optimize-cons): New function.
lisp/emacs-lisp/byte-opt.el