]> git.eshelyaron.com Git - emacs.git/commitdiff
(python-preoutput-filter): Fix arg order to string-match.
authorRichard M. Stallman <rms@gnu.org>
Sat, 16 Sep 2006 17:56:17 +0000 (17:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 16 Sep 2006 17:56:17 +0000 (17:56 +0000)
lisp/ChangeLog
lisp/progmodes/python.el

index df9232d40e09305ad1a715ee221afaefac39a4bd..0b4d6147678991c4a931720306bf6d68b9f0ca12 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-16  Slawomir Nowaczyk  <slawomir.nowaczyk.847@student.lu.se>
+
+       * progmodes/python.el (python-preoutput-filter):
+       Fix arg order to string-match.
+
 2006-09-16  Richard Stallman  <rms@gnu.org>
 
        * obsolete/fast-lock.el (fast-lock-cache-data): Provide 2nd arg to
index 712d75afff983e338daaaea44b30749d31c86e1e..0387c05134e816244c052fee08916fb628c721ee 100644 (file)
@@ -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)))