summary refs log tree commit diff
path: root/emacs/etc
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
parentui: small adjustment with the theme (diff)
downloademacs.d-6fc3ca4a2c9b876094f0d6a89b635f44d1362e40.tar.gz
yas: elisp
Diffstat (limited to '')
-rw-r--r--emacs/etc/snippets/emacs-lisp-mode/defun6
-rw-r--r--emacs/etc/snippets/emacs-lisp-mode/format5
2 files changed, 11 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
diff --git a/emacs/etc/snippets/emacs-lisp-mode/format b/emacs/etc/snippets/emacs-lisp-mode/format
new file mode 100644
index 0000000..2bd648f
--- /dev/null
+++ b/emacs/etc/snippets/emacs-lisp-mode/format
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: format
+# key: f
+# --
+(format "$1" $0)
\ No newline at end of file