summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/pp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-09-22 12:22:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-09-22 12:22:50 -0400
commit1a6255532e14c4341e93b7e576c47bcec68c3239 (patch)
tree1c3fa4bfc7504538d30a0836aaa6fb66aac4db39 /lisp/emacs-lisp/pp.el
parent536cda1f84f3be1959e5a475e51dbecaa2253bfd (diff)
downloademacs-1a6255532e14c4341e93b7e576c47bcec68c3239.tar.gz
emacs-1a6255532e14c4341e93b7e576c47bcec68c3239.tar.bz2
emacs-1a6255532e14c4341e93b7e576c47bcec68c3239.zip
* lisp/emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
(pcase--expand pcase--q1, pcase--app-subst-match): Use it. (pcase--macroexpand): Handle self-quoting patterns here, expand them to quote patterns. (pcase--split-match): Don't hoist or/and here any more. (pcase--split-equal): Optimize quote patterns as well as ` patterns. (pcase--flip): New helper macro. (pcase--u1): Optimize the memq case directly. Don't handle neither self-quoting nor and/or patterns any more.
Diffstat (limited to 'lisp/emacs-lisp/pp.el')
0 files changed, 0 insertions, 0 deletions