From be8b7dbd649cd28075352a5a459bd3c62cf249fc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 16 Sep 2006 17:56:17 +0000 Subject: [PATCH] (python-preoutput-filter): Fix arg order to string-match. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/python.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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))) -- 2.39.2