Permalink
Browse files

Added `insert-date' function

  • Loading branch information...
1 parent ff3e923 commit 54ab0f19d4dc9a4b49ee2fa8617c56b02e1cdd11 @jwiegley committed Aug 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 init.el
View
@@ -453,6 +453,10 @@
(bind-key "C-c m" 'emacs-toggle-size)
+(defun insert-date ()
+ (interactive)
+ (insert (format-time-string "%Y-%m-%d")))
+
(defcustom user-initials nil
"*Initials of this user."
:set

0 comments on commit 54ab0f1

Please sign in to comment.