changeset 110115:fae81355c62c

* progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 22 Aug 2010 20:44:55 -0400
parents 1489c9287d53
children 7d94b3a34955 b2115e1dafc0
files lisp/ChangeLog lisp/progmodes/python.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Aug 22 19:50:38 2010 -0400
+++ b/lisp/ChangeLog	Sun Aug 22 20:44:55 2010 -0400
@@ -1,3 +1,8 @@
+2010-08-23  Chris Foote <chris@foote.com.au>  (tiny change)
+
+	* progmodes/python.el (python-block-pairs): Allow use of "finally"
+	with "else" (Bug#3991).
+
 2010-08-22  Leo  <sdl.web@gmail.com>
 
 	* net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
--- a/lisp/progmodes/python.el	Sun Aug 22 19:50:38 2010 -0400
+++ b/lisp/progmodes/python.el	Sun Aug 22 20:44:55 2010 -0400
@@ -755,7 +755,7 @@
   '(("else" "if" "elif" "while" "for" "try" "except")
     ("elif" "if" "elif")
     ("except" "try" "except")
-    ("finally" "try" "except"))
+    ("finally" "else" "try" "except"))
   "Alist of keyword matches.
 The car of an element is a keyword introducing a statement which
 can close a block opened by a keyword in the cdr.")