]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/edebug.el (edebug-&optional, edebug-&rest): Remove vars
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 15 Feb 2021 04:56:42 +0000 (23:56 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 15 Feb 2021 04:56:42 +0000 (23:56 -0500)
commit54e577fbc1fb2e1189388ac290fe70d0f87b6c76
treee0e5916c708826242ad8ebeede449b675d39d9a4
parent623e534e49ad0a360d1291b917ce97515742a3e9
* lisp/emacs-lisp/edebug.el (edebug-&optional, edebug-&rest): Remove vars

According to my tests, `edebug-&optional` never has any effect.
And `edebug-&rest` can be replaced with a closure.

(edebug-&rest-wrapper): Remove function.
(edebug--match-&-spec-op): Use a closure to remember the `specs`.
lisp/emacs-lisp/edebug.el