diff options
| author | Stefan Monnier | 2022-08-13 12:03:22 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2022-08-13 12:04:29 -0400 |
| commit | dd2973bf5040d26d29a937d252eeaf2884dca9fb (patch) | |
| tree | ef063a3ecb770068d823623f6446b3f3f251080d /src | |
| parent | a1cf3b96f84794b708a9d80281d4e9deadfb610c (diff) | |
| download | emacs-dd2973bf5040d26d29a937d252eeaf2884dca9fb.tar.gz emacs-dd2973bf5040d26d29a937d252eeaf2884dca9fb.zip | |
nadvice.el: Avoid exponential blow up in interactive-form recursion
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): Sink the call
to `commandp` into the autoloaded function case since it's redundant in
the other branch.
(advice--make-interactive-form): Take just the interactive forms rather
than the actual functions as arguments.
(oclosure-interactive-form): Use `advice--interactive-form` rather than
`commandp` since we'd call `advice--interactive-form` afterwards anyway.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions