diff options
| author | Richard M. Stallman | 1996-04-16 23:07:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-16 23:07:52 +0000 |
| commit | 95184b48ec94a4def68e8a0123afa1623a088d2f (patch) | |
| tree | b5805544e066d2aede19fc9aaae793232c787945 /src | |
| parent | 9c6da96f002586520e313eb95b23768fc6271ba9 (diff) | |
| download | emacs-95184b48ec94a4def68e8a0123afa1623a088d2f.tar.gz emacs-95184b48ec94a4def68e8a0123afa1623a088d2f.zip | |
(decode_mode_spec): Use frame F, not selected frame.
On termcap frames, implicit names are ok.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index b967bbf243c..5f05b79338d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3721,10 +3721,10 @@ decode_mode_spec (w, c, spec_width, maxwidth) | |||
| 3721 | case 'F': | 3721 | case 'F': |
| 3722 | /* %F displays the frame name. */ | 3722 | /* %F displays the frame name. */ |
| 3723 | #ifdef MULTI_FRAME | 3723 | #ifdef MULTI_FRAME |
| 3724 | if (!NILP (selected_frame->title)) | 3724 | if (!NILP (f->title)) |
| 3725 | return (char *) XSTRING (selected_frame->title)->data; | 3725 | return (char *) XSTRING (f->title)->data; |
| 3726 | if (selected_frame->explicit_name) | 3726 | if (f->explicit_name || FRAME_TERMCAP_P (f)) |
| 3727 | return (char *) XSTRING (selected_frame->name)->data; | 3727 | return (char *) XSTRING (f->name)->data; |
| 3728 | #endif | 3728 | #endif |
| 3729 | return "Emacs"; | 3729 | return "Emacs"; |
| 3730 | 3730 | ||