w1100n
This site is best viewed in Google Chrome
7/5/2012 15:24

C-c m d

[shell]

(defun my-insert-date ()

(interactive)
(insert "#")
;(insert (user-full-name))
;(insert "@")
(insert (format-time-string "%Y/%m/%d %H:%M:%S" (current-time))))
(global-set-key (kbd "C-c m d") ‘my-insert-date)

[/shell]

<< Previous Posts Newer Posts >>
辽ICP备14012896