diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-16 13:06:48 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-16 13:06:48 -0700 |
commit | 6fc3ca4a2c9b876094f0d6a89b635f44d1362e40 (patch) | |
tree | 9009c9ea4a6414f1ecaa06d30e851d49d3af89e9 /emacs/etc/snippets/emacs-lisp-mode | |
parent | ui: small adjustment with the theme (diff) | |
download | emacs.d-6fc3ca4a2c9b876094f0d6a89b635f44d1362e40.tar.gz |
yas: elisp
Diffstat (limited to '')
-rw-r--r-- | emacs/etc/snippets/emacs-lisp-mode/defun | 6 | ||||
-rw-r--r-- | emacs/etc/snippets/emacs-lisp-mode/format | 5 |
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 |