diff options
author | Yuchen Pei <id@ypei.org> | 2024-05-23 21:40:33 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-05-23 21:40:33 +1000 |
commit | 056d3050ebecdcfa8f0cdd353a925e58167ac867 (patch) | |
tree | 2ab8f0e70c0098619ab3fc6f4b421a66e49e5ab0 /emacs/.emacs.d/tempel-templates | |
parent | 292e82a58af2b74c030511de0b705653b906c4e0 (diff) |
[emacs] c++ config
tempel template for #ifdef block
Diffstat (limited to 'emacs/.emacs.d/tempel-templates')
-rw-r--r-- | emacs/.emacs.d/tempel-templates | 7 |
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 |