]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/python.el (python-indent-block-enders): Add break,
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 26 May 2013 08:55:02 +0000 (05:55 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 26 May 2013 08:55:02 +0000 (05:55 -0300)
continue and raise keywords.

lisp/ChangeLog
lisp/progmodes/python.el

index 84ce7d1e71a1eac4059f65bc56a0b4ec2a7d5b2a..2204d474be95573dda28c89da44a3bc313043093 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-indent-block-enders): Add break,
+       continue and raise keywords.
+
 2013-05-08  Ulrich Mueller  <ulm@gentoo.org>
 
        * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
index 266d193cddae27f680129931e97ed4b27f12bb92..a76ea875f5d72f417de27c3d99d76dee7ee3c8ee 100644 (file)
@@ -628,7 +628,8 @@ It makes underscores and dots word constituent chars.")
 These make `python-indent-calculate-indentation' subtract the value of
 `python-indent-offset'.")
 
-(defvar python-indent-block-enders '("return" "pass")
+(defvar python-indent-block-enders
+  '("break" "continue" "pass" "raise" "return")
   "List of words that mark the end of a block.
 These make `python-indent-calculate-indentation' subtract the
 value of `python-indent-offset' when `python-indent-context' is