diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-09-13 18:24:31 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-09-13 18:24:31 +0200 |
commit | 817dd546497aadefbe9acc8762e3f7190799c5e6 (patch) | |
tree | 6993e5114fbfa59e51eb018d44f4912f1b7ffe0f | |
parent | 99af480d00905b54bb2f739d134c149930d91ce8 (diff) | |
download | emacs-817dd546497aadefbe9acc8762e3f7190799c5e6.tar.gz |
Improve frame-title-format and icon-title-format
* src/xdisp.c (syms_of_xdisp): Replace 'invocation-name' with the text
"%b - GNU Emacs" and replace "@" with " at ". (Bug#41147)
* etc/NEWS: Announce the above change.
-rw-r--r-- | etc/NEWS | 11 | ||||
-rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 12 insertions, 2 deletions
@@ -127,6 +127,17 @@ the mouse cursor is on the scroll bars, fringes, margins, header line, and mode line. ('mwheel-mode' is enabled by default on most graphical displays.) +--- +** The default value of 'frame-title-format' and icon-title-format' has changed. +These variables are used to display the title bar of visible frames +and the title bar of an iconified frame. They now show the name of +the current buffer and the text "GNU Emacs" instead of the value of +'invocation-name'. To get the old behavior back, add the following to +your Init file: + + (setq frame-title-format '(multiple-frames "%b" + ("" invocation-name "@" system-name))) + * Editing Changes in Emacs 28.1 diff --git a/src/xdisp.c b/src/xdisp.c index 69e5a9e1cf1..10ddb53dba2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -34831,8 +34831,7 @@ and is used only on frames for which no explicit name has been set Oracle Developer Studio 12.6. */ Lisp_Object icon_title_name_format = pure_list (empty_unibyte_string, - intern_c_string ("invocation-name"), - build_pure_c_string ("@"), + build_pure_c_string ("%b - GNU Emacs at "), intern_c_string ("system-name")); Vicon_title_format = Vframe_title_format |