diff options
| author | Eli Zaretskii | 2021-09-09 21:04:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 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.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." | |||
| 3152 | (python-shell--encode-string string) | 3152 | (python-shell--encode-string string) |
| 3153 | (python-shell--encode-string (or (buffer-file-name) | 3153 | (python-shell--encode-string (or (buffer-file-name) |
| 3154 | "<string>"))))) | 3154 | "<string>"))))) |
| 3155 | (if (or (null (process-connection-type process)) | 3155 | (if (or (null (process-tty-name process)) |
| 3156 | (<= (string-bytes code) comint-max-line-length)) | 3156 | (<= (string-bytes code) comint-max-line-length)) |
| 3157 | (comint-send-string process code) | 3157 | (comint-send-string process code) |
| 3158 | (let* ((temp-file-name (with-current-buffer (process-buffer process) | 3158 | (let* ((temp-file-name (with-current-buffer (process-buffer process) |