changeset 87857:6f654ccab302

Quote all calls to "auxiliary skeleton"s to prevent infloops.
author Glenn Morris <rgm@gnu.org>
date Sun, 20 Jan 2008 04:02:03 +0000
parents 4f657ba160d6
children f176bf2c0e6d
files lisp/progmodes/python.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/python.el	Sun Jan 20 03:56:50 2008 +0000
+++ b/lisp/progmodes/python.el	Sun Jan 20 04:02:03 2008 +0000
@@ -2077,7 +2077,7 @@
    <			; Avoid wrong indentation after block opening.
    "elif " str ":" \n
    > _ \n nil)
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (define-skeleton python-else
   "Auxiliary skeleton."
@@ -2091,24 +2091,24 @@
   "Condition: "
   "while " str ":" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (def-python-skeleton for
   "Target, %s: "
   "for " str " in " (skeleton-read "Expression, %s: ") ":" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (def-python-skeleton try/except
   nil
   "try:" \n
   > _ \n
   ("Exception, %s: "
-   < "except " str (python-target) ":" \n
+   < "except " str '(python-target) ":" \n
    > _ \n nil)
   < "except:" \n
   > _ \n
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (define-skeleton python-target
   "Auxiliary skeleton."