mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00: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
@ -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…
Reference in New Issue
Block a user