1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 12:31:32 -08:00

Fixed called-interactively-p invocation.

This commit is contained in:
Fabián Ezequiel Gallina 2012-05-17 00:02:57 -03:00 committed by Fabián Ezequiel Gallina
parent db1497be14
commit fc87f759ed

View file

@ -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))