my-emacs-d/zim.el

7 lines
156 B
EmacsLisp
Raw Normal View History

2015-01-28 15:52:52 +00:00
(defun insert-zim-timestamp ()
(interactive)
(insert (format-time-string "%Y-%m-%dT%H:%M:%S%z"))
(forward-char -2)
(insert ":")
(forward-char 2))