From 9c6da96f002586520e313eb95b23768fc6271ba9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 16 Apr 1996 22:52:34 +0000 Subject: [PATCH] (decode_mode_spec): For %F, use explicit name or `Emacs'. --- src/xdisp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 79821e4a350..b967bbf243c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3723,10 +3723,10 @@ decode_mode_spec (w, c, spec_width, maxwidth) #ifdef MULTI_FRAME if (!NILP (selected_frame->title)) return (char *) XSTRING (selected_frame->title)->data; - return (char *) XSTRING (selected_frame->name)->data; -#else - return "Emacs"; + if (selected_frame->explicit_name) + return (char *) XSTRING (selected_frame->name)->data; #endif + return "Emacs"; case 'f': obj = b->filename; -- 2.39.2