Browse files

Fixed called-interactively-p invocation.

  • Loading branch information...
1 parent 712ea39 commit 5419d29c04e7d228ee63c0ca505e5b6ef20748a0 =?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= committed with fgallina May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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))

0 comments on commit 5419d29

Please sign in to comment.