diff options
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 3fae3987b22..8ec9febe5c9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2414,7 +2414,7 @@ banner and the initial prompt are received separately." | |||
| 2414 | (defun python-shell-comint-end-of-output-p (output) | 2414 | (defun python-shell-comint-end-of-output-p (output) |
| 2415 | "Return non-nil if OUTPUT is ends with input prompt." | 2415 | "Return non-nil if OUTPUT is ends with input prompt." |
| 2416 | (string-match | 2416 | (string-match |
| 2417 | ;; XXX: It seems on OSX an extra carriage return is attached | 2417 | ;; XXX: It seems on macOS an extra carriage return is attached |
| 2418 | ;; at the end of output, this handles that too. | 2418 | ;; at the end of output, this handles that too. |
| 2419 | (concat | 2419 | (concat |
| 2420 | "\r?\n?" | 2420 | "\r?\n?" |