From: Fabián Ezequiel Gallina Date: Sun, 26 May 2013 08:55:02 +0000 (-0300) Subject: * progmodes/python.el (python-indent-block-enders): Add break, X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1943^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f782d531336c7913a9187f0d685849bf88e41f10;p=emacs.git * progmodes/python.el (python-indent-block-enders): Add break, continue and raise keywords. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 84ce7d1e71a..2204d474be9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-26 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-block-enders): Add break, + continue and raise keywords. + 2013-05-08 Ulrich Mueller * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 266d193cdda..a76ea875f5d 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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