emacs-devel
[Top][All Lists]
Advanced

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

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


From: Robert Pluim
Subject: Re: Modernize frame-title-format: "%b - GNU Emacs"
Date: Thu, 27 Aug 2020 19:36:29 +0200

>>>>> On Thu, 27 Aug 2020 20:11:06 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Pip Cet <pipcet@gmail.com>
    >> Date: Thu, 27 Aug 2020 17:06:26 +0000
    >> Cc: Stefan Kangas <stefan@marxist.se>, emacs-devel@gnu.org
    >> 
    >> I don't even think it would be acceptable to go with a default
    >> setting if it were easy to customize this, and it's not (M-x customize
    >> RET frame title RET doesn't work).

Well, fixing that is a one-liner:

diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index f5b70e082a..9da8bdc93a 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -90,6 +90,7 @@ minibuffer-prompt-properties--setter
             ;; buffer.c
             (cursor-type display ,cursor-type-types)
             (mode-line-format mode-line sexp) ;Hard to do right.
+            (frame-title-format frames sexp) ;Hard to do right.
             (major-mode internal function)
             (case-fold-search matching boolean)
             (fill-column fill integer)

    Eli> Though not via Customize, you _can_ customize the title: see the
    Eli> variable frame-title-format.

(is there a better custom type than 'sexp here?)

Robert



reply via email to

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