summary refs log tree commit diff
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/defun6
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/defun b/snippets/emacs-lisp-mode/defun
new file mode 100644
index 0000000..1c1282b
--- /dev/null
+++ b/snippets/emacs-lisp-mode/defun
@@ -0,0 +1,6 @@
+# -*- mode: snippet -*-
+# name: function
+# key: d
+# --
+(defun $1 ($2)
+$0)
\ No newline at end of file