From 9027027d085973006891374fdc337334a5db7b5b Mon Sep 17 00:00:00 2001 From: Chris Foote Date: Sun, 22 Aug 2010 20:44:55 -0400 Subject: * progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991). --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/progmodes/python.el') diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 2b09e346331..ed2a3236be1 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -755,7 +755,7 @@ Set `python-indent' locally to the value guessed." '(("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.") -- cgit v1.2.3