summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2024-04-24 10:18:10 -0400
committerKjetil Orbekk <kj@orbekk.com>2024-04-29 16:37:14 -0400
commitd4d82824f8d039578213eb902f81b3af7af5c22a (patch)
tree59712a98959b07433978f37dd39a68727575ea21 /emacs
parentd4ff0347cab69312d121d63e19a23b1d93c54d6a (diff)
add templates
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs/templates5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.config/emacs/templates b/emacs/.config/emacs/templates
index cb4219c..e83697e 100644
--- a/emacs/.config/emacs/templates
+++ b/emacs/.config/emacs/templates
@@ -18,6 +18,11 @@ emacs-lisp-mode
";;; " (file-name-nondirectory (or (buffer-file-name) (buffer-name)))
" ends here" n)
+prog-mode
+
+(dns "DO_NOT_SUBMIT")
+(ldns "LOG(DO_NOT_SUBMIT) << ")
+
c++-mode
(ns "namespace " (s ns) "{" n r n "} // namespace " (s ns))