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:
parent
db1497be14
commit
fc87f759ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue