comparison lisp/progmodes/python.el @ 94628:a088027cd6c2

(python-block-pairs): Align finally with except.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 05 May 2008 07:10:25 +0000
parents b4b1e6b43d64
children 52b7a8c22af5
comparison
equal deleted inserted replaced
94627:9cc7bc51e055 94628:a088027cd6c2
745 745
746 (defconst python-block-pairs 746 (defconst python-block-pairs
747 '(("else" "if" "elif" "while" "for" "try" "except") 747 '(("else" "if" "elif" "while" "for" "try" "except")
748 ("elif" "if" "elif") 748 ("elif" "if" "elif")
749 ("except" "try" "except") 749 ("except" "try" "except")
750 ("finally" "try")) 750 ("finally" "try" "except"))
751 "Alist of keyword matches. 751 "Alist of keyword matches.
752 The car of an element is a keyword introducing a statement which 752 The car of an element is a keyword introducing a statement which
753 can close a block opened by a keyword in the cdr.") 753 can close a block opened by a keyword in the cdr.")
754 754
755 (defun python-first-word () 755 (defun python-first-word ()