# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 829695154 0
# Node ID 07171585640f88f001da14eefd3d91b75427dc65
# Parent  e782b987fbdb2a01f84342b0d040e50161a41605
(decode_mode_spec): For %F, use explicit name or `Emacs'.

diff -r e782b987fbdb -r 07171585640f src/xdisp.c
--- a/src/xdisp.c	Tue Apr 16 22:33:07 1996 +0000
+++ b/src/xdisp.c	Tue Apr 16 22:52:34 1996 +0000
@@ -3723,10 +3723,10 @@
 #ifdef MULTI_FRAME
       if (!NILP (selected_frame->title))
 	return (char *) XSTRING (selected_frame->title)->data;
-      return (char *) XSTRING (selected_frame->name)->data;
-#else
+      if (selected_frame->explicit_name)
+	return (char *) XSTRING (selected_frame->name)->data;
+#endif
       return "Emacs";
-#endif
 
     case 'f': 
       obj = b->filename;