summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode/cond
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/emacs-lisp-mode/cond')
-rw-r--r--snippets/emacs-lisp-mode/cond8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/cond b/snippets/emacs-lisp-mode/cond
new file mode 100644
index 0000000..738ca0a
--- /dev/null
+++ b/snippets/emacs-lisp-mode/cond
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: cond
+# key: cond
+# --
+(cond (${1:first-condition} ${2:first-return})
+ (${3:second-condition} ${4:second-return})
+ (t ${5:always-true-return}))
+$0 \ No newline at end of file
Copyright 2019--2024 Marius PETER