projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d92db04
)
; * lisp/progmodes/python.el (python-shell-send-string): Fix last change.
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 9 Sep 2021 18:04:13 +0000
(21:04 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 9 Sep 2021 18:04:13 +0000
(21:04 +0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 3fc2700663f287d987035c3176cc5deef3730099..e342ce7f5631e31468b7a0e6696856fea4aeb9c4 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-3152,7
+3152,7
@@
t when called interactively."
(python-shell--encode-string string)
(python-shell--encode-string (or (buffer-file-name)
"<string>")))))
- (if (or (null (process-
connection-typ
e process))
+ (if (or (null (process-
tty-nam
e process))
(<= (string-bytes code) comint-max-line-length))
(comint-send-string process code)
(let* ((temp-file-name (with-current-buffer (process-buffer process)