aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2008-01-20 04:02:15 +0000
committerGlenn Morris <[email protected]>2008-01-20 04:02:15 +0000
commitf2c6de6aed9864b659d9abb60b109bd21d65474f (patch)
tree30c34d2f24a8731054fff5f916e44d4fb082a361 /lisp/progmodes/python.el
parentf2357ea13b8a734d22daea14cabe8e8e2fa5713e (diff)
Quote all calls to "auxiliary skeleton"s to prevent infloops.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3a393a7a4e..39fe096309 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2077,7 +2077,7 @@ The default contents correspond to the elements of `python-skeletons'."
< ; 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 @@ The default contents correspond to the elements of `python-skeletons'."
"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."