emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100001: * progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991).
Date: Sun, 22 Aug 2010 20:44:55 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100001
author: Chris Foote <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sun 2010-08-22 20:44:55 -0400
message:
  * progmodes/python.el (python-block-pairs): Allow use of "finally" with 
"else" (Bug#3991).
modified:
  lisp/ChangeLog
  lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-22 22:44:55 +0000
+++ b/lisp/ChangeLog    2010-08-23 00:44:55 +0000
@@ -1,3 +1,8 @@
+2010-08-23  Chris Foote <address@hidden>  (tiny change)
+
+       * progmodes/python.el (python-block-pairs): Allow use of "finally"
+       with "else" (Bug#3991).
+
 2010-08-22  Leo  <address@hidden>
 
        * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2010-07-07 04:46:58 +0000
+++ b/lisp/progmodes/python.el  2010-08-23 00:44:55 +0000
@@ -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.")


reply via email to

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