Skip to content

Instantly share code, notes, and snippets.

@takaokouji
Created December 10, 2009 05:10
Show Gist options
  • Save takaokouji/253128 to your computer and use it in GitHub Desktop.
Save takaokouji/253128 to your computer and use it in GitHub Desktop.
(load "time-stamp")
(defun insert-time-stamp ()
(interactive)
(insert (time-stamp-string)))
(defun my-insert-time ()
(interactive)
(insert (format-time-string "%Y-%m-%d %H:%M:%S")))
(global-set-key "\C-c\C-t" 'my-insert-time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment