aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/tempel-templates
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/tempel-templates')
-rw-r--r--emacs/.emacs.d/tempel-templates7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/tempel-templates b/emacs/.emacs.d/tempel-templates
index 2b421cc..ab35739 100644
--- a/emacs/.emacs.d/tempel-templates
+++ b/emacs/.emacs.d/tempel-templates
@@ -217,6 +217,13 @@ org-mode
(inlsrc "src_" p "{" q "}")
(title "#+title: " p n "#+author: " (user-full-name) n "#+language: en")
+c++-mode
+
+(ifdef "#ifdef " (p "" sym) "
+"
+ r
+ "
+#endif /* " sym " */" )
;; Local Variables:
;; mode: lisp-data