diff options
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
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.)" | |||
| 1023 | "Send STRING to inferior Python process." | 1023 | "Send STRING to inferior Python process." |
| 1024 | (interactive "sPython command: ") | 1024 | (interactive "sPython command: ") |
| 1025 | (let ((process (or process (python-shell-get-or-create-process)))) | 1025 | (let ((process (or process (python-shell-get-or-create-process)))) |
| 1026 | (when (called-interactively-p) | 1026 | (when (called-interactively-p 'interactive) |
| 1027 | (message (format "Sent: %s..." string))) | 1027 | (message (format "Sent: %s..." string))) |
| 1028 | (comint-send-string process string) | 1028 | (comint-send-string process string) |
| 1029 | (when (or (not (string-match "\n$" string)) | 1029 | (when (or (not (string-match "\n$" string)) |