diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-09-09 21:04:13 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-09-09 21:04:13 +0300 |
commit | ceb60225bacc7650b5e52032c0c33b9d67f9a6d7 (patch) | |
tree | 8e108a26d6eee6ca39688658eda92ad0e2e85ceb /lisp/progmodes/python.el | |
parent | d92db04a9de4f917a16b8cf1e6f0072d1bf697d5 (diff) | |
download | emacs-ceb60225bacc7650b5e52032c0c33b9d67f9a6d7.tar.gz emacs-ceb60225bacc7650b5e52032c0c33b9d67f9a6d7.tar.bz2 emacs-ceb60225bacc7650b5e52032c0c33b9d67f9a6d7.zip |
; * lisp/progmodes/python.el (python-shell-send-string): Fix last change.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3fc2700663f..e342ce7f563 100644 --- 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-type process)) + (if (or (null (process-tty-name process)) (<= (string-bytes code) comint-max-line-length)) (comint-send-string process code) (let* ((temp-file-name (with-current-buffer (process-buffer process) |