From fc87f759ed9952e601e05cbd2229a1b3aec80158 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Thu, 17 May 2012 00:02:57 -0300 Subject: [PATCH] Fixed called-interactively-p invocation. --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2