emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111352: * progmodes/python.el (py


From: Fabián Ezequiel Gallina
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111352: * progmodes/python.el (python-indent-block-enders): Add break,
Date: Sun, 26 May 2013 05:55:02 -0300
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 111352
committer: Fabián Ezequiel Gallina <address@hidden>
branch nick: emacs-24
timestamp: Sun 2013-05-26 05:55:02 -0300
message:
  * progmodes/python.el (python-indent-block-enders): Add break,
  continue and raise keywords.
modified:
  lisp/ChangeLog
  lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-05-08 03:52:54 +0000
+++ b/lisp/ChangeLog    2013-05-26 08:55:02 +0000
@@ -1,3 +1,8 @@
+2013-05-26  Fabián Ezequiel Gallina  <address@hidden>
+
+       * progmodes/python.el (python-indent-block-enders): Add break,
+       continue and raise keywords.
+
 2013-05-08  Ulrich Mueller  <address@hidden>
 
        * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2013-03-26 01:55:11 +0000
+++ b/lisp/progmodes/python.el  2013-05-26 08:55:02 +0000
@@ -628,7 +628,8 @@
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]