diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-16 05:14:28 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-16 05:14:28 -0600 |
| commit | 9ed05f388d3cbd16a72f9ace130d1f59233354e7 (patch) | |
| tree | 81853ec9826707f3217388913f0c3123d22ea0cb /snippets/emacs-lisp-mode/elisp-ifthen | |
| parent | 61dfcb7aef61c976c4446f1e089e1e3f578edf48 (diff) | |
chore(yasnippet): move snippets into emacs.d for source control
Relocate snippets-dir from ~/sync/org/snippets/ to ~/.emacs.d/snippets/
and restore 28 snippet files from backup.
Diffstat (limited to 'snippets/emacs-lisp-mode/elisp-ifthen')
| -rw-r--r-- | snippets/emacs-lisp-mode/elisp-ifthen | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/elisp-ifthen b/snippets/emacs-lisp-mode/elisp-ifthen new file mode 100644 index 00000000..efe61f83 --- /dev/null +++ b/snippets/emacs-lisp-mode/elisp-ifthen @@ -0,0 +1,13 @@ +# -*- mode: snippet -*- +# name: elifthen +# key: >elifthen +# -- + +(if ($1 condition) + (progn + $2 ; if statements + ; go here + ) + $2 ; else statements + ; go here +)
\ No newline at end of file |
