summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/text-mode
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/text-mode/email3
-rw-r--r--emacs.d/lisp/yasnippet/snippets/text-mode/time3
2 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/text-mode/email b/emacs.d/lisp/yasnippet/snippets/text-mode/email
new file mode 100644
index 0000000..1ac7f94
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/text-mode/email
@@ -0,0 +1,3 @@
+#name : (user's email)
+# --
+`(replace-regexp-in-string "@" "@NOSPAM." user-mail-address)` \ No newline at end of file
diff --git a/emacs.d/lisp/yasnippet/snippets/text-mode/time b/emacs.d/lisp/yasnippet/snippets/text-mode/time
new file mode 100644
index 0000000..d744f1a
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/text-mode/time
@@ -0,0 +1,3 @@
+#name : (current time)
+# --
+`(current-time-string)` \ No newline at end of file