summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/emacs-lisp-mode')
-rw-r--r--snippets/emacs-lisp-mode/defun7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/defun b/snippets/emacs-lisp-mode/defun
new file mode 100644
index 0000000..80373b2
--- /dev/null
+++ b/snippets/emacs-lisp-mode/defun
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: defun
+# key: def
+# --
+(defun ${1:function-name} (${2:arguments})
+ "${3:Docstring}"
+ $0) \ No newline at end of file
Copyright 2019--2024 Marius PETER