From: Matthias Meulien Date: Thu, 12 Jun 2014 02:24:24 +0000 (-0400) Subject: * lisp/progmodes/python.el (class skeleton): Don't erase last char of class X-Git-Tag: emacs-25.0.90~2612^2~709^2~722 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82fb2a08db1889ccd57e571e9333c17a0abeeb2e;p=emacs.git * lisp/progmodes/python.el (class skeleton): Don't erase last char of class name. Fixes: debbugs:17683 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d5422deef12..5e039a75461 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-06-12 Matthias Meulien + + * progmodes/python.el (class skeleton): Don't erase last char of class + name (bug#17683). + 2014-06-12 Cameron Desautels (tiny change) * help.el (where-is): Use `default' arg of completing-read (bug#17705). diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 79fbe7faa27..3a913a31193 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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)