Commit fc87f759 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina

Fixed called-interactively-p invocation.

parent db1497be
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment