aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2013-05-26 05:55:02 -0300
committerFabián Ezequiel Gallina2013-05-26 05:55:02 -0300
commitf782d531336c7913a9187f0d685849bf88e41f10 (patch)
tree67b57e507be58c7ef21a0472341cc4bc96c8c2a2 /lisp/progmodes/python.el
parentfc5b3b95d5abbf35ca1eecf67930c102eb95b96a (diff)
downloademacs-f782d531336c7913a9187f0d685849bf88e41f10.tar.gz
emacs-f782d531336c7913a9187f0d685849bf88e41f10.zip
* progmodes/python.el (python-indent-block-enders): Add break,
continue and raise keywords.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 2 insertions, 1 deletions
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.")
628These make `python-indent-calculate-indentation' subtract the value of 628These make `python-indent-calculate-indentation' subtract the value of
629`python-indent-offset'.") 629`python-indent-offset'.")
630 630
631(defvar python-indent-block-enders '("return" "pass") 631(defvar python-indent-block-enders
632 '("break" "continue" "pass" "raise" "return")
632 "List of words that mark the end of a block. 633 "List of words that mark the end of a block.
633These make `python-indent-calculate-indentation' subtract the 634These make `python-indent-calculate-indentation' subtract the
634value of `python-indent-offset' when `python-indent-context' is 635value of `python-indent-offset' when `python-indent-context' is