comparison src/xdisp.c @ 15037:07171585640f

(decode_mode_spec): For %F, use explicit name or `Emacs'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Apr 1996 22:52:34 +0000
parents c833cd83414c
children 2376256a0204
comparison
equal deleted inserted replaced
15036:e782b987fbdb 15037:07171585640f
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 (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 #endif
3728 return "Emacs"; 3729 return "Emacs";
3729 #endif
3730 3730
3731 case 'f': 3731 case 'f':
3732 obj = b->filename; 3732 obj = b->filename;
3733 #if 0 3733 #if 0
3734 if (NILP (obj)) 3734 if (NILP (obj))