* lisp/emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
commit7fbd780a0013b09c294625e4985f7000af55a5c6
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Sep 2014 17:24:46 +0000 (22 13:24 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Sep 2014 17:24:46 +0000 (22 13:24 -0400)
treee30d804dcdc7b172d8311b264a5b494179b314e3
parent1a6255532e14c4341e93b7e576c47bcec68c3239
* lisp/emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
(pcase--upat): Remove.
(pcase--macroexpand): Don't hardcode handling of `.
(pcase--split-consp, pcase--split-vector): Remove.
(pcase--split-equal): Disregard ` since it's expanded away.
(pcase--split-member): Optimize for quote rather than for `.
(pcase--split-pred): Optimize for quote rather than for `.
(pcase--u1): Remove handling of ` (and of `or' and `and').
Quote non-selfquoting values when passing them to `eq'.
Drop `app's let-binding if the variable is not used.
(pcase--q1): Remove.
(`): Define as a pattern macro.
lisp/ChangeLog
lisp/emacs-lisp/pcase.el