diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-16 22:52:34 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-16 22:52:34 +0000 |
commit | fff76a005b1255ea30ae898d43dd3e127905b022 (patch) | |
tree | 2b6f0d8a46965d794ab1a3627cbf42f6a4105c38 /src/xdisp.c | |
parent | a810fe63dbd764394254b6acd3ed8c7a1c449d60 (diff) | |
download | emacs-fff76a005b1255ea30ae898d43dd3e127905b022.tar.gz |
(decode_mode_spec): For %F, use explicit name or `Emacs'.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 79821e4a350..b967bbf243c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; |