changeset 15037:07171585640f

(decode_mode_spec): For %F, use explicit name or `Emacs'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Apr 1996 22:52:34 +0000
parents e782b987fbdb
children 2376256a0204
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;