summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode
diff options
context:
space:
mode:
authorSimeon Simeonov2015-03-16 14:44:51 +0100
committerSimeon Simeonov2015-03-16 14:44:51 +0100
commit9c599b56dcabf22ab7adef9f852eb58776f01290 (patch)
tree2495f02ffbe7743d88770530ab4a8081ea7f79f9 /.emacs.d/snippets/python-mode
parentb5d0bc24d0c062127bec902b359334afd113a416 (diff)
Fix doc-string, parameter format for python-mode
Diffstat (limited to '.emacs.d/snippets/python-mode')
-rw-r--r--.emacs.d/snippets/python-mode/.yas-setup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/snippets/python-mode/.yas-setup.el b/.emacs.d/snippets/python-mode/.yas-setup.el
index 6635232..e2b011d 100644
--- a/.emacs.d/snippets/python-mode/.yas-setup.el
+++ b/.emacs.d/snippets/python-mode/.yas-setup.el
@@ -11,7 +11,7 @@
11 (max-len (if args (apply 'max (mapcar (lambda (x) (length (nth 0 x))) args)) 0)) 11 (max-len (if args (apply 'max (mapcar (lambda (x) (length (nth 0 x))) args)) 0))
12 (formatted-args (mapconcat 12 (formatted-args (mapconcat
13 (lambda (x) 13 (lambda (x)
14 (concat (nth 0 x) (make-string (- max-len (length (nth 0 x))) ? ) " -- " 14 (concat ":param " (nth 0 x) (make-string (- max-len (length (nth 0 x))) ? ) ": "
15 (if (nth 1 x) (concat "\(default " (nth 1 x) "\)")))) 15 (if (nth 1 x) (concat "\(default " (nth 1 x) "\)"))))
16 args 16 args
17 indent))) 17 indent)))