aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <[email protected]>2025-01-26 16:01:52 -0500
committerDaniel <[email protected]>2025-01-26 16:01:52 -0500
commitb2da32f3231d89dc6b99bf1fb49ea00d8888db71 (patch)
tree0e2bae167b391ef7cae02f1f343129903887a1fa
parent310295fdad07f2b26768dcef4567a59a08c8022b (diff)
c++ log snippet
-rw-r--r--tempel-snippets.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tempel-snippets.el b/tempel-snippets.el
index 33beb3c..c92d6e6 100644
--- a/tempel-snippets.el
+++ b/tempel-snippets.el
@@ -8,6 +8,9 @@ fundamental-mode ;; Available everywhere
(tomorrow (format-time-string "<%Y-%0m-%0d %a>" (time-add nil (* 24 60 60))))
(mode "-*- mode: " (s mode) " -*-")
+c++-mode
+(log "std::cout << \"" p "\" << std::endl;")
+
org-mode
(title "#+title: "p n "#+date: "(format-time-string "[%Y-%0m-%0d %a %H:%0M]") n)