Open azzamsa opened 2 years ago
I think we need to set icon-title-format
too. As described here:
Oh, good to know. What is you system (on OSX, I use a patched Emacs to get rid of the title entirely). Does yu PR make the title completely disappear?
Yes. It my previous version of Emacs. But Now I need to add one more additional line
;; No hostname in frame title
;; Without setting the `icon-title-format`. The window title will revert
;; back to its original value after loosing its focus.
(setq frame-title-format '("" invocation-name " - " "%b"))
(setq icon-title-format '("" invocation-name " - " "%b"))
❯ sfetch
OS: Debian GNU/Linux 11 (bullseye)
Emacs version: GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-12-07
``
Oh, Emacs 29 might be a bit too ahead of current (27.2) version. Does you "hack" works on 27.2 as well ?
Sorry. I only have GNU Emacs 29.0.50
on my end.
Hi.
(setq frame-title-format nil)
and(setq frame-title-format "")
doesn't work in my end. However setting it to(setq frame-title-format " ")
works.I think it because
""
also evaluates tonil