]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/python.el (class skeleton): Don't erase last char of class
authorMatthias Meulien <orontee@gmail.com>
Thu, 12 Jun 2014 02:24:24 +0000 (22:24 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Jun 2014 02:24:24 +0000 (22:24 -0400)
name.

Fixes: debbugs:17683
lisp/ChangeLog
lisp/progmodes/python.el

index d5422deef12e486a5fb62be2cdcdddbb23432ab5..5e039a75461f99bd2412c14745cefdc4b1a5e901 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-12  Matthias Meulien  <orontee@gmail.com>
+
+       * progmodes/python.el (class skeleton): Don't erase last char of class
+       name (bug#17683).
+
 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
 
        * help.el (where-is): Use `default' arg of completing-read (bug#17705).
index 79fbe7faa277236064471239e106db6eda0a8ba5..3a913a31193a31edef0f818b45832b7eba3682bb 100644 (file)
@@ -2983,7 +2983,7 @@ The skeleton will be bound to python-skeleton-NAME."
   "class " str "(" ("Inheritance, %s: "
                     (unless (equal ?\( (char-before)) ", ")
                     str)
-  & ")" | -2
+  & ")" | -1
   ":" \n
   "\"\"\"" - "\"\"\"" \n
   > _ \n)