diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 10845b23630..5073f2bc23a 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1127,8 +1127,8 @@ Don't save anything for STR matching `inferior-python-filter-regexp'." | |||
| 1127 | ((string-match ".*\n" s) | 1127 | ((string-match ".*\n" s) |
| 1128 | s) | 1128 | s) |
| 1129 | ((or (eq t (compare-strings s nil nil "_emacs_ok\n" nil (length s))) | 1129 | ((or (eq t (compare-strings s nil nil "_emacs_ok\n" nil (length s))) |
| 1130 | (eq t (compare-strings s nil nil "_emacs_out " nil | 1130 | (let ((end (min (length "_emacs_out ") (length s)))) |
| 1131 | (min (length "_emacs_out ") (length s))))) | 1131 | (eq t (compare-strings s nil end "_emacs_out " nil end)))) |
| 1132 | (setq python-preoutput-leftover s) | 1132 | (setq python-preoutput-leftover s) |
| 1133 | "") | 1133 | "") |
| 1134 | (t s))) | 1134 | (t s))) |