summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-09-16 17:56:17 +0000
committerRichard M. Stallman <rms@gnu.org>2006-09-16 17:56:17 +0000
commitbe8b7dbd649cd28075352a5a459bd3c62cf249fc (patch)
tree3938eba2c3ddf3de6498abf70595795f6801c8ae /lisp/progmodes/python.el
parent9af0a0b9c876bbbcc33401022dd2ab240555cdff (diff)
(python-preoutput-filter): Fix arg order to string-match.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
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)))