summaryrefslogtreecommitdiff
path: root/snippets/emacs-lisp-mode/cond
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2020-11-10 18:59:44 -0800
committerBlendoit <blendoit@gmail.com>2020-11-10 18:59:44 -0800
commit942f394906eacbc13744d2fb82418e1302895265 (patch)
tree8b9ab396305629714948627a50b49cb1f7c23481 /snippets/emacs-lisp-mode/cond
parent23a420c1ed37fede60e8bc9ad710b53b290be1d6 (diff)
Snippets
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