[Top][All Lists]

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

Re: Modernize frame-title-format: "%b - GNU Emacs"

From: Gregory Heytings
Subject: Re: Modernize frame-title-format: "%b - GNU Emacs"
Date: Mon, 31 Aug 2020 07:58:15 +0000
User-agent: Alpine 2.22 (NEB 394 2020-01-19)

(setq frame-title-format
      '(multiple-frames "%B"
                        ("" "%B - GNU Emacs at " system-name)))

I personally do not like the idea of having the program information ("GNU Emacs at ...") disappear when a second frame is opened, and reappear when the next to last frame is closed. I see no reason to do this.

The new "%B" specifier, added by me here, is equivalent to:

 (if buffer-file-name
     (abbreviate-file-name buffer-file-name)

You probably meant:

(if buffer-file-name
    (abbreviate-file-name buffer-file-name)

reply via email to

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