summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/nadvice.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-07-26 14:41:18 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-07-26 14:41:18 -0400
commit7ced0d044656b5fa4a9cd2bcc2326908be432bcf (patch)
tree322bac2dc4bcfbd9b1eb00fed86ba961efa1ff51 /lisp/emacs-lisp/nadvice.el
parentd58d31fbe7f1ee045f2040ac65c3b7f8797b30fc (diff)
downloademacs-7ced0d044656b5fa4a9cd2bcc2326908be432bcf.tar.gz
* lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
`base' arg of backtrace-frame.
Diffstat (limited to 'lisp/emacs-lisp/nadvice.el')
-rw-r--r--lisp/emacs-lisp/nadvice.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el
index 8b149aad7bb..edcfc409085 100644
--- a/lisp/emacs-lisp/nadvice.el
+++ b/lisp/emacs-lisp/nadvice.el
@@ -425,7 +425,7 @@ of the piece of advice."
(get-next-frame
(lambda ()
(setq frame1 frame2)
- (setq frame2 (internal--called-interactively-p--get-frame i))
+ (setq frame2 (backtrace-frame i #'called-interactively-p))
;; (message "Advice Frame %d = %S" i frame2)
(setq i (1+ i)))))
(when (and (eq (nth 1 frame2) 'apply)