Mercurial > emacs
changeset 831:dcfb4a00adb3
entered into RCS
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 21 Jul 1992 20:31:06 +0000 |
parents | d7f1e2db9faf |
children | f40ed8ebb09e |
files | src/xdisp.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Jul 21 19:48:07 1992 +0000 +++ b/src/xdisp.c Tue Jul 21 20:31:06 1992 +0000 @@ -1780,10 +1780,11 @@ if (FRAME_IS_X (f) && ! FRAME_MINIBUF_ONLY_P (f) - && w == XWINDOW (f->selected_window) - && XINT (Flength (Vframe_list)) > 1 - && (NILP (Fstring_equal (XBUFFER (w->buffer)->name, f->name)))) - x_set_name (f, XBUFFER (w->buffer)->name, Qnil); + && w == XWINDOW (f->selected_window)) + x_set_name (f, ((XINT (Flength (Vframe_list)) > 1) + ? XBUFFER (w->buffer)->name + : Qnil), + Qnil); #endif }