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

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

How to update current frame title?


From: Song Fang
Subject: How to update current frame title?
Date: Fri, 22 Oct 2004 16:04:29 +0800

Hi,

I want to display the date and time on the frame title, so I add a line
into the .emacs file:
    (setq frame-title-frame '("GNU Emacs "
                              (:eval (format-time-string "%Y-%m-%d %R"))))

But it only updates when the frame is redsplayed.
Can I update the title using something like `force-mode-line-update'?

Thanks

Song

reply via email to

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