]> git.eshelyaron.com Git - emacs.git/commitdiff
Quote all calls to "auxiliary skeleton"s to prevent infloops.
authorGlenn Morris <rgm@gnu.org>
Sun, 20 Jan 2008 04:02:15 +0000 (04:02 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 20 Jan 2008 04:02:15 +0000 (04:02 +0000)
lisp/ChangeLog
lisp/progmodes/python.el

index 30ab6bda2a8dd2db5c02c676ddc08725060b37bd..e24f1039787943d19b2455fb6819a0d517f716f0 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-20  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/python.el: Quote all calls to "auxiliary skeleton"s to
+       prevent infloops.
+
+2008-01-20  Martin Svenson <phromo@gmail.com>  (tiny change)
+
+       * progmodes/python.el (python-imports): Default to "None".
+
 2008-01-19  Tom Tromey  <tromey@redhat.com>
 
         * vc-svn.el (vc-svn-after-dir-status): New function.
index 3a393a7a4eb280a3f7a143adb22ba273bfc933cc..39fe096309d04caee9e1f533c365fa283930d818 100644 (file)
@@ -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."