From 32226619c5e563c384372b566000e5d37d783a61 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 2 Oct 2009 03:48:36 +0000 Subject: Use `called-interactively-p' instead of `interactive-p'. --- lisp/apropos.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/apropos.el') diff --git a/lisp/apropos.el b/lisp/apropos.el index f66ba95400a..45463784cbc 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -1121,7 +1121,8 @@ If non-nil TEXT is a string that will be printed as a heading." (defun apropos-describe-plist (symbol) "Display a pretty listing of SYMBOL's plist." - (help-setup-xref (list 'apropos-describe-plist symbol) (interactive-p)) + (help-setup-xref (list 'apropos-describe-plist symbol) + (called-interactively-p 'interactive)) (with-help-window (help-buffer) (set-buffer standard-output) (princ "Symbol ") -- cgit v1.2.3