From f67a57efc45404666a953461a124e66ad4e92850 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 12 Aug 1996 19:52:27 +0000 Subject: [PATCH] (py-no-outdent-re): Added return, break, raise, continue since we already outdent for those statements. --- Misc/python-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 2128d89c268..7d960000576 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.")