From: Richard M. Stallman Date: Sat, 16 Sep 2006 17:56:17 +0000 (+0000) Subject: (python-preoutput-filter): Fix arg order to string-match. X-Git-Tag: emacs-pretest-22.0.90~509 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be8b7dbd649cd28075352a5a459bd3c62cf249fc;p=emacs.git (python-preoutput-filter): Fix arg order to string-match. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index df9232d40e0..0b4d6147678 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-09-16 Slawomir Nowaczyk + + * progmodes/python.el (python-preoutput-filter): + Fix arg order to string-match. + 2006-09-16 Richard Stallman * obsolete/fast-lock.el (fast-lock-cache-data): Provide 2nd arg to diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 712d75afff9..0387c05134e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1289,7 +1289,7 @@ Don't save anything for STR matching `inferior-python-filter-regexp'." ;; Maybe we could be more selective here. (if (zerop (length res)) (not (bolp)) - (string-match res ".\\'")))) + (string-match ".\\'" res)))) ;; The need for this seems to be system-dependent: ;; What is this all about, exactly? --Stef ;; (if (and (eq ?. (aref s 0)))