]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/pcase.el: Don't bind unused vars in branches
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 May 2020 23:07:45 +0000 (19:07 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 May 2020 23:07:45 +0000 (19:07 -0400)
commita218c9861573b5ec4979ff2662f5c0343397e3ff
tree679088862b2b911365767f01cc1e8edabe3ec2c9
parent7f7a8fbfd707ee51858a9bee53cff560a0e5b3c0
* lisp/emacs-lisp/pcase.el: Don't bind unused vars in branches

(pcase--fgrep): Change calling convention to take bindings rather than
just variables.
(pcase--funcall, pcase--eval): Adjust to this new calling convention.
(pcase--expand): Use `pcase--fgrep` to bind only the vars that are used.
lisp/emacs-lisp/pcase.el