Variable: called-interactively-p-functions
called-interactively-p-functions is a variable defined in subr.el.gz.
Value
(edebug--called-interactively-skip
advice--called-interactively-skip)
Documentation
Special hook called to skip special frames in called-interactively-p.
The functions are called with 3 arguments: (I FRAME1 FRAME2), where FRAME1 is a "current frame", FRAME2 is the next frame, I is the index of the frame after FRAME2. It should return nil if those frames don't seem special and otherwise, it should return the number of frames to skip (minus 1).
Source Code
;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defvar called-interactively-p-functions nil
"Special hook called to skip special frames in `called-interactively-p'.
The functions are called with 3 arguments: (I FRAME1 FRAME2),
where FRAME1 is a \"current frame\", FRAME2 is the next frame,
I is the index of the frame after FRAME2. It should return nil
if those frames don't seem special and otherwise, it should return
the number of frames to skip (minus 1).")