]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_mode_spec): For %F, use explicit name or `Emacs'.
authorRichard M. Stallman <rms@gnu.org>
Tue, 16 Apr 1996 22:52:34 +0000 (22:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 16 Apr 1996 22:52:34 +0000 (22:52 +0000)
src/xdisp.c

index 79821e4a350bbbaaeb2272d8f2271ceb7326ea6b..b967bbf243c510f30b7cf098de145d7139f61986 100644 (file)
@@ -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;