summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorMatthias Meulien <orontee@gmail.com>2014-06-11 22:24:24 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-06-11 22:24:24 -0400
commit82fb2a08db1889ccd57e571e9333c17a0abeeb2e (patch)
tree6a4e55d91db62689c948dae225abb0ee07170e8b /lisp/progmodes/python.el
parente016b8f1529872128f756098368c45d2cbb0ae2e (diff)
downloademacs-82fb2a08db1889ccd57e571e9333c17a0abeeb2e.tar.gz
* lisp/progmodes/python.el (class skeleton): Don't erase last char of class
name. Fixes: debbugs:17683
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
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)