~/.emacs I have the following:
(setq frame-title-format '("" invocation-name ": " (:eval (if (buffer-file-name) (abbreviate-file-name (buffer-file-name)) "%b"))))
which sets the frametitle as file currently opened in the buffer.
~/.emacs is opened then the title looks as follows:
However after some time the title defaults to usual
How to go about fixing this?