Mercurial > emacs
changeset 15038:2376256a0204
(decode_mode_spec): Use frame F, not selected frame.
On termcap frames, implicit names are ok.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 16 Apr 1996 23:07:52 +0000 |
parents | 07171585640f |
children | 43c846d45f79 |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Apr 16 22:52:34 1996 +0000 +++ b/src/xdisp.c Tue Apr 16 23:07:52 1996 +0000 @@ -3721,10 +3721,10 @@ case 'F': /* %F displays the frame name. */ #ifdef MULTI_FRAME - if (!NILP (selected_frame->title)) - return (char *) XSTRING (selected_frame->title)->data; - if (selected_frame->explicit_name) - return (char *) XSTRING (selected_frame->name)->data; + if (!NILP (f->title)) + return (char *) XSTRING (f->title)->data; + if (f->explicit_name || FRAME_TERMCAP_P (f)) + return (char *) XSTRING (f->name)->data; #endif return "Emacs";