Fix minor corner case bugs in byte compilation and pcase.
commit6382d20b094d6894651a850709f088bbe13049ef
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 May 2012 14:28:02 +0000 (29 10:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 May 2012 14:28:02 +0000 (29 10:28 -0400)
treedb858a08a81047b73130193c385bf6fe80e07205
parent6ff8319d8645c175eafe9df08098d1365ede759d
Fix minor corner case bugs in byte compilation and pcase.
* lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
functions from byte-compile-function-environment.
* lisp/emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
(byte-compile-close-variables): Bind byte-compile--outbuffer here...
(byte-compile-from-buffer): ...rather than here.
* lisp/emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
different alternative patterns.
(pcase-codegen): Be more careful to preserve identity.
(pcase--u1): Don't forget to mark vars as used.
lisp/ChangeLog
lisp/emacs-lisp/byte-opt.el
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/pcase.el