]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_mode_spec, case 'F'): Use `title' field.
authorRichard M. Stallman <rms@gnu.org>
Wed, 17 Jan 1996 21:58:51 +0000 (21:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 17 Jan 1996 21:58:51 +0000 (21:58 +0000)
src/xdisp.c

index e35502375bcfcfbb6dcabb8c19a808a2fc805d56..f6ca3866c478bb59d8cd6181d7fc37b9cedb8742 100644 (file)
@@ -3665,6 +3665,8 @@ decode_mode_spec (w, c, spec_width, maxwidth)
     case 'F':
       /* %F displays the frame name.  */
 #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";