]> git.eshelyaron.com Git - emacs.git/commit
nadvice.el: Restore interactive-form handling
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Dec 2021 22:25:50 +0000 (17:25 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Dec 2021 22:25:50 +0000 (17:25 -0500)
commit9465a7e59e7cc0140762c4c6fd9e83cfc7dd27a6
treefb775cfaaa7fd35623014fded96a6fcd80e3aba7
parent5574871ec74b037373f6ddd69460b923e23b9b76
nadvice.el: Restore interactive-form handling

* test/lisp/emacs-lisp/nadvice-tests.el
(advice-test-call-interactively): Prefer a locally scoped function.

* lisp/simple.el (interactive-form): Don't skip the method dispatch
when recursing.
(interactive-form) <advice>: New method.

* lisp/emacs-lisp/nadvice.el (advice--where-alist): Fix typo.
(advice--get-interactive-form): New function.

* lisp/emacs-lisp/oclosure.el (oclosure-lambda): Fix thinko.

* lisp/emacs-lisp/cl-generic.el: Prefill with an OClosure dispatcher.
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/oclosure.el
lisp/simple.el
test/lisp/emacs-lisp/nadvice-tests.el