From 9cb61f8dfd4a786e0ed22903c91a489a9198bbac Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 21 Jun 1995 18:47:11 +0000 Subject: [PATCH] (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly. --- src/xdisp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 8565968589e..35a8ab4db4f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3487,7 +3487,11 @@ decode_mode_spec (w, c, maxwidth) case 'F': /* %F displays the frame name. */ +#ifdef MULTI_FRAME return (char *) XSTRING (selected_frame->name)->data; +#else + return "Emacs"; +#endif case 'f': obj = b->filename; -- 2.39.2