* progmodes/python.el (python-skeleton-class)
(python-skeleton-def): Do not add space after defun name.
This commit is contained in:
parent
645c6a30a7
commit
2c43a9adb2
2 changed files with 13 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
|
||||
|
||||
* progmodes/python.el (python-skeleton-class)
|
||||
(python-skeleton-def): Do not add space after defun name.
|
||||
|
||||
2012-12-09 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* simple.el (set-mark-default-inactive): Mark as obsolete, for
|
||||
|
|
|
@ -2681,17 +2681,17 @@ The skeleton will be bound to python-skeleton-NAME."
|
|||
|
||||
(python-skeleton-define def nil
|
||||
"Function name: "
|
||||
"def " str " (" ("Parameter, %s: "
|
||||
(unless (equal ?\( (char-before)) ", ")
|
||||
str) "):" \n
|
||||
"\"\"\"" - "\"\"\"" \n
|
||||
> _ \n)
|
||||
"def " str "(" ("Parameter, %s: "
|
||||
(unless (equal ?\( (char-before)) ", ")
|
||||
str) "):" \n
|
||||
"\"\"\"" - "\"\"\"" \n
|
||||
> _ \n)
|
||||
|
||||
(python-skeleton-define class nil
|
||||
"Class name: "
|
||||
"class " str " (" ("Inheritance, %s: "
|
||||
(unless (equal ?\( (char-before)) ", ")
|
||||
str)
|
||||
"class " str "(" ("Inheritance, %s: "
|
||||
(unless (equal ?\( (char-before)) ", ")
|
||||
str)
|
||||
& ")" | -2
|
||||
":" \n
|
||||
"\"\"\"" - "\"\"\"" \n
|
||||
|
|
Loading…
Add table
Reference in a new issue