mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(advice--called-interactively-skip): Fix inf-loop (bug#21083)
* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Fix inf-loop (bug#21083).
This commit is contained in:
parent
492ea2410c
commit
5abadebc35
1 changed files with 3 additions and 2 deletions
|
|
@ -522,8 +522,9 @@ of the piece of advice."
|
|||
(while
|
||||
(progn
|
||||
(funcall get-next-frame)
|
||||
(not (and (eq (nth 1 frame2) 'apply)
|
||||
(eq (nth 3 frame2) inneradvice)))))
|
||||
(and frame2
|
||||
(not (and (eq (nth 1 frame2) 'apply)
|
||||
(eq (nth 3 frame2) inneradvice))))))
|
||||
(funcall get-next-frame)
|
||||
(funcall get-next-frame))))
|
||||
(- i origi 1))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue