projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492ea24
)
(advice--called-interactively-skip): Fix inf-loop (bug#21083)
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 21 Jul 2015 23:09:12 +0000
(19:09 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 21 Jul 2015 23:09:12 +0000
(19:09 -0400)
* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
Fix inf-loop (bug#21083).
lisp/emacs-lisp/nadvice.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/nadvice.el
b/lisp/emacs-lisp/nadvice.el
index a6db5e9e696827939c048dbad88fb09095fa38cc..5a59a980feb9fd455e6501f09407e441e0a211aa 100644
(file)
--- a/
lisp/emacs-lisp/nadvice.el
+++ b/
lisp/emacs-lisp/nadvice.el
@@
-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))))