From: Fabián Ezequiel Gallina Date: Thu, 17 May 2012 03:02:57 +0000 (-0300) Subject: Fixed called-interactively-p invocation. X-Git-Tag: emacs-24.2.90~1199^2~616 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc87f759ed9952e601e05cbd2229a1b3aec80158;p=emacs.git Fixed called-interactively-p invocation. --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5a3dc4bb1fb..78b541d8a0e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1023,7 +1023,7 @@ commands.)" "Send STRING to inferior Python process." (interactive "sPython command: ") (let ((process (or process (python-shell-get-or-create-process)))) - (when (called-interactively-p) + (when (called-interactively-p 'interactive) (message (format "Sent: %s..." string))) (comint-send-string process string) (when (or (not (string-match "\n$" string))