summary refs log tree commit diff
path: root/emacs/etc/snippets/emacs-lisp-mode/defun
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-16 13:06:48 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-16 13:06:48 -0700
commit6fc3ca4a2c9b876094f0d6a89b635f44d1362e40 (patch)
tree9009c9ea4a6414f1ecaa06d30e851d49d3af89e9 /emacs/etc/snippets/emacs-lisp-mode/defun
parentui: small adjustment with the theme (diff)
downloademacs.d-6fc3ca4a2c9b876094f0d6a89b635f44d1362e40.tar.gz
yas: elisp
Diffstat (limited to 'emacs/etc/snippets/emacs-lisp-mode/defun')
-rw-r--r--emacs/etc/snippets/emacs-lisp-mode/defun6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/etc/snippets/emacs-lisp-mode/defun b/emacs/etc/snippets/emacs-lisp-mode/defun
new file mode 100644
index 0000000..1c1282b
--- /dev/null
+++ b/emacs/etc/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