(ad-make-advised-definition): Use called-interactively-p.

This commit is contained in:
Richard M. Stallman 2004-11-02 09:17:50 +00:00
parent 085db7de2d
commit ae03e7cf52

View file

@ -3106,7 +3106,7 @@ in any of these classes."
(not advised-interactive-form))
;; Check whether we were called interactively
;; in order to do proper prompting:
`(if (interactive-p)
`(if (called-interactively-p)
(call-interactively ',origname)
,(ad-make-mapped-call orig-arglist
advised-arglist