help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inserting date and time at the cursor location


From: Jesper Harder
Subject: Re: inserting date and time at the cursor location
Date: Wed, 02 Oct 2002 17:30:14 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-redhat-linux-gnu)

"Guy-Armand Kamendje" <kguy@gmx.at> writes:

> Is there a way to let xemacs insert the current date and time at the
> actual cursor location?

(defun jh-insert-current-time ()
  (interactive)
  (insert (current-time-string)))

Then do `M-x jh-insert-current-time' or bind it to some key sequence.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]