summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode/defun
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/emacs-lisp-mode/defun')
-rw-r--r--snippets/emacs-lisp-mode/defun4
1 files changed, 3 insertions, 1 deletions
diff --git a/snippets/emacs-lisp-mode/defun b/snippets/emacs-lisp-mode/defun
index 80373b2..e67e483 100644
--- a/snippets/emacs-lisp-mode/defun
+++ b/snippets/emacs-lisp-mode/defun
@@ -3,5 +3,7 @@
# key: def
# --
(defun ${1:function-name} (${2:arguments})
- "${3:Docstring}"
+ "${3:Docstring: Indicate in imperitave voice what the function does.
+Second and subsequent lines must have nil indentation to preserve
+formatting in }"
$0) \ No newline at end of file
Copyright 2019--2024 Marius PETER