* lisp/progmodes/python.el (class skeleton): Don't erase last char of class

name.

Fixes: debbugs:17683
This commit is contained in:
Matthias Meulien 2014-06-11 22:24:24 -04:00 committed by Stefan Monnier
parent e016b8f152
commit 82fb2a08db
2 changed files with 6 additions and 1 deletions

View 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).

View 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)