summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-17 21:58:51 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-17 21:58:51 +0000
commitf4c6a6e6f8e51554ce8690f472bddb6df83feced (patch)
tree9cf375892dec7b0994b4ac5dac62e2cd04236e3c /src/xdisp.c
parent5a88a2376d101f2ce0b65e6139ec968c618ceb1a (diff)
downloademacs-f4c6a6e6f8e51554ce8690f472bddb6df83feced.tar.gz
(decode_mode_spec, case 'F'): Use `title' field.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e35502375bc..f6ca3866c47 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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";