From: Barry Warsaw Date: Mon, 12 Aug 1996 19:52:27 +0000 (+0000) Subject: (py-no-outdent-re): Added return, break, raise, continue since we X-Git-Tag: v1.4b3~157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f67a57efc45404666a953461a124e66ad4e92850;p=thirdparty%2FPython%2Fcpython.git (py-no-outdent-re): Added return, break, raise, continue since we already outdent for those statements. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 2128d89c2680..7d960000576f 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -384,7 +384,9 @@ Currently-active file is at the head of the list.") "while\\s +.*:" "for\\s +.*:" "if\\s +.*:" - "elif\\s +.*:") + "elif\\s +.*:" + "\\(return\\|break\\|raise\\|continue\\)[ \t\n]" + ) "\\|") "\\)") "Regexp matching lines to not outdent after.")