[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el |
Date: |
Tue, 29 Mar 2005 09:12:24 -0500 |
Index: emacs/lisp/progmodes/python.el
diff -c emacs/lisp/progmodes/python.el:1.26 emacs/lisp/progmodes/python.el:1.27
*** emacs/lisp/progmodes/python.el:1.26 Mon Mar 28 14:36:24 2005
--- emacs/lisp/progmodes/python.el Tue Mar 29 14:12:23 2005
***************
*** 1127,1134 ****
((string-match ".*\n" s)
s)
((or (eq t (compare-strings s nil nil "_emacs_ok\n" nil (length s)))
! (eq t (compare-strings s nil nil "_emacs_out " nil
! (min (length "_emacs_out ") (length s)))))
(setq python-preoutput-leftover s)
"")
(t s)))
--- 1127,1134 ----
((string-match ".*\n" s)
s)
((or (eq t (compare-strings s nil nil "_emacs_ok\n" nil (length s)))
! (let ((end (min (length "_emacs_out ") (length s))))
! (eq t (compare-strings s nil end "_emacs_out " nil end))))
(setq python-preoutput-leftover s)
"")
(t s)))