Fix minor corner case bugs in byte compilation and pcase.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 May 2012 14:28:02 +0000 (10:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 29 May 2012 14:28:02 +0000 (10:28 -0400)
commit6876a58db34b81e411293b5ee8d161aa451fd767
treeb1cc081fe4c2b62f737018f19c016b95ff5a9e99
parent46b7967e4d98570501f5e75ba7460fa4c79e4617
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