From: Barry Warsaw Date: Tue, 14 Mar 1995 23:25:44 +0000 (+0000) Subject: (py-no-outdent-re): fixed the regexp for try: clauses X-Git-Tag: v1.2b4~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464c94af2a0c9a22f205a164d6a58734c0f427a7;p=thirdparty%2FPython%2Fcpython.git (py-no-outdent-re): fixed the regexp for try: clauses --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 619f3f8352fc..ffe98503f49d 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -319,7 +319,7 @@ Currently-active file is at the head of the list.") (defconst py-no-outdent-re (concat "\\(" (mapconcat 'identity - '("try\\s +.*:" + '("try:" "except\\(\\s +.*\\)?:" "while\\s +.*:" "for\\s +.*:"