diff Misc/python-mode.el @ 4000:bfffd38d600b legacy-trunk

(py-no-outdent-re): Added return, break, raise, continue since we already outdent for those statements.
author Barry Warsaw <barry@python.org>
date Mon, 12 Aug 1996 19:52:27 +0000
parents 675328b08122
children 2c89bf04f834
line wrap: on
line diff
--- a/Misc/python-mode.el	Fri Aug 09 23:15:18 1996 +0000
+++ b/Misc/python-mode.el	Mon Aug 12 19:52:27 1996 +0000
@@ -384,7 +384,9 @@
 			     "while\\s +.*:"
 			     "for\\s +.*:"
 			     "if\\s +.*:"
-			     "elif\\s +.*:")
+			     "elif\\s +.*:"
+			     "\\(return\\|break\\|raise\\|continue\\)[ \t\n]"
+			     )
 			   "\\|")
 	  "\\)")
   "Regexp matching lines to not outdent after.")