summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/cc-mode/do
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/snippets/text-mode/cc-mode/do6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/cc-mode/do b/emacs.d/snippets/text-mode/cc-mode/do
new file mode 100644
index 0000000..5f7a313
--- /dev/null
+++ b/emacs.d/snippets/text-mode/cc-mode/do
@@ -0,0 +1,6 @@
+#name : do { ... } while (...)
+# --
+do
+{
+ $0
+} while (${1:condition}); \ No newline at end of file