diff options
| author | Richard M. Stallman | 1996-04-16 22:52:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-04-16 22:52:34 +0000 |
| commit | 9c6da96f002586520e313eb95b23768fc6271ba9 (patch) | |
| tree | fd0d4fab77cf628f6ab2ff835c4b79982727514e /src | |
| parent | c9b35eceec14a7e659c7d4e893f8d3b29e3d672a (diff) | |
| download | emacs-9c6da96f002586520e313eb95b23768fc6271ba9.tar.gz emacs-9c6da96f002586520e313eb95b23768fc6271ba9.zip | |
(decode_mode_spec): For %F, use explicit name or `Emacs'.
Diffstat (limited to 'src')
| -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) | |||
| 3723 | #ifdef MULTI_FRAME | 3723 | #ifdef MULTI_FRAME |
| 3724 | if (!NILP (selected_frame->title)) | 3724 | if (!NILP (selected_frame->title)) |
| 3725 | return (char *) XSTRING (selected_frame->title)->data; | 3725 | return (char *) XSTRING (selected_frame->title)->data; |
| 3726 | return (char *) XSTRING (selected_frame->name)->data; | 3726 | if (selected_frame->explicit_name) |
| 3727 | #else | 3727 | return (char *) XSTRING (selected_frame->name)->data; |
| 3728 | return "Emacs"; | ||
| 3729 | #endif | 3728 | #endif |
| 3729 | return "Emacs"; | ||
| 3730 | 3730 | ||
| 3731 | case 'f': | 3731 | case 'f': |
| 3732 | obj = b->filename; | 3732 | obj = b->filename; |