aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2012-12-11 04:22:55 -0300
committerFabián Ezequiel Gallina2012-12-11 04:22:55 -0300
commit2c43a9adb2ba4904ac95e0d7be452536d003c37c (patch)
treebe1586e51408bc0b515c1156dac266ac3e8fb4f8 /lisp/progmodes/python.el
parent645c6a30a7779cc313165591e4f1c3bf000c8166 (diff)
downloademacs-2c43a9adb2ba4904ac95e0d7be452536d003c37c.tar.gz
emacs-2c43a9adb2ba4904ac95e0d7be452536d003c37c.zip
* progmodes/python.el (python-skeleton-class)
(python-skeleton-def): Do not add space after defun name.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7cd59c0c1b4..98ba437d4ef 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2681,17 +2681,17 @@ The skeleton will be bound to python-skeleton-NAME."
2681 2681
2682(python-skeleton-define def nil 2682(python-skeleton-define def nil
2683 "Function name: " 2683 "Function name: "
2684 "def " str " (" ("Parameter, %s: " 2684 "def " str "(" ("Parameter, %s: "
2685 (unless (equal ?\( (char-before)) ", ") 2685 (unless (equal ?\( (char-before)) ", ")
2686 str) "):" \n 2686 str) "):" \n
2687 "\"\"\"" - "\"\"\"" \n 2687 "\"\"\"" - "\"\"\"" \n
2688 > _ \n) 2688 > _ \n)
2689 2689
2690(python-skeleton-define class nil 2690(python-skeleton-define class nil
2691 "Class name: " 2691 "Class name: "
2692 "class " str " (" ("Inheritance, %s: " 2692 "class " str "(" ("Inheritance, %s: "
2693 (unless (equal ?\( (char-before)) ", ") 2693 (unless (equal ?\( (char-before)) ", ")
2694 str) 2694 str)
2695 & ")" | -2 2695 & ")" | -2
2696 ":" \n 2696 ":" \n
2697 "\"\"\"" - "\"\"\"" \n 2697 "\"\"\"" - "\"\"\"" \n