From 1f34eceac64b19f6bdbbd103dd36c1114c996c15 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 24 Aug 2020 02:46:15 +0200 Subject: [PATCH] Simplify frame-title-format to be more modern * src/xdisp.c (syms_of_xdisp): Change 'Vframe_title_format' and 'Vicon_title_format' to "%b - GNU Emacs". This is more in line with what other modern software does. (Bug#41147) --- src/xdisp.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index ed1d248990..78fe9101d2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -34826,18 +34826,9 @@ syms_of_xdisp (void) This variable has the same structure as `mode-line-format' (which see), and is used only on frames for which no explicit name has been set \(see `modify-frame-parameters'). */); - /* Do not nest calls to pure_list. This works around a bug in - 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 ("@"), - intern_c_string ("system-name")); Vicon_title_format = Vframe_title_format - = pure_list (intern_c_string ("multiple-frames"), - build_pure_c_string ("%b"), - icon_title_name_format); + = build_pure_c_string ("%b - GNU Emacs"); DEFVAR_LISP ("message-log-max", Vmessage_log_max, doc: /* Maximum number of lines to keep in the message log buffer. -- 2.28.0