Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2c43a9ad
Commit
2c43a9ad
authored
Dec 11, 2012
by
Fabián Ezequiel Gallina
Browse files
* progmodes/python.el (python-skeleton-class)
(python-skeleton-def): Do not add space after defun name.
parent
645c6a30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/python.el
lisp/progmodes/python.el
+8
-8
No files found.
lisp/ChangeLog
View file @
2c43a9ad
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
...
...
lisp/progmodes/python.el
View file @
2c43a9ad
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment