diff lisp/progmodes/python.el @ 79890:fffb131e8c0c

Quote all calls to "auxiliary skeleton"s to prevent infloops.
author Glenn Morris <rgm@gnu.org>
date Sun, 20 Jan 2008 04:00:43 +0000
parents 6091631b1d67
children 0681f498ce1a
line wrap: on
line diff
--- a/lisp/progmodes/python.el	Sun Jan 20 03:57:19 2008 +0000
+++ b/lisp/progmodes/python.el	Sun Jan 20 04:00:43 2008 +0000
@@ -2052,7 +2052,7 @@
    <			; Avoid wrong indentation after block opening.
    "elif " str ":" \n
    > _ \n nil)
-  (python-else) | ^)
+  '(python-else) | ^)
 
 (define-skeleton python-else
   "Auxiliary skeleton."
@@ -2066,24 +2066,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."