summaryrefslogtreecommitdiff
path: root/resources/snippets/emacs-lisp-mode/defun
diff options
context:
space:
mode:
Diffstat (limited to 'resources/snippets/emacs-lisp-mode/defun')
-rw-r--r--resources/snippets/emacs-lisp-mode/defun9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/snippets/emacs-lisp-mode/defun b/resources/snippets/emacs-lisp-mode/defun
new file mode 100644
index 0000000..e67e483
--- /dev/null
+++ b/resources/snippets/emacs-lisp-mode/defun
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+# name: defun
+# key: def
+# --
+(defun ${1:function-name} (${2:arguments})
+ "${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