]> git.eshelyaron.com Git - emacs.git/commit
Fix mistake in `quote` optimiser
authorMattias Engdegård <mattiase@acm.org>
Wed, 21 Jul 2021 08:54:43 +0000 (10:54 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 21 Jul 2021 09:17:18 +0000 (11:17 +0200)
commit070c80ee06664c90fb9c96a1b9c89f7b844ae712
tree07712467dcbaf6eec175628bb63f42edd5badd3b
parent1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0
Fix mistake in `quote` optimiser

Found by Pip Cet.

* lisp/emacs-lisp/byte-opt.el (byte-optimize-quote): Fix mistake that
made this optimiser ineffective at removing quoting of nil, t, and
keywords.  The only obvious consequence is that we no longer need...
(byte-optimize-form): ...a 'nil => nil normalising step here; remove.
(byte-optimize-form-code-walker): Make the compiler warn about (quote).
lisp/emacs-lisp/byte-opt.el