From: Richard M. Stallman Date: Tue, 16 Apr 1996 22:52:34 +0000 (+0000) Subject: (decode_mode_spec): For %F, use explicit name or `Emacs'. X-Git-Tag: emacs-19.34~824 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c6da96f002586520e313eb95b23768fc6271ba9;p=emacs.git (decode_mode_spec): For %F, use explicit name or `Emacs'. --- 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;