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

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

Re: Minibuffer tray to display current time and date


From: Emanuel Berg
Subject: Re: Minibuffer tray to display current time and date
Date: Thu, 23 Apr 2015 02:59:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>    M-: (with-current-buffer " *Minibuf-0*" (insert
> "I'm Idle!")) RET

So then it should be as simple as:

    (with-current-buffer " *Minibuf-0*"
      (insert (format-time-string "%H:%M")))

Do you then use the idle-timer or how do you update it
so it won't freeze time and make everything stop
around you?

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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