Mercurial > emacs
changeset 7545:0e1f3b9598bb
(Fset_window_buffer): Fix dedicated window error call.
(window_loop, case UNSHOW_BUFFER): Clear dedicated flag.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 18 May 1994 23:37:55 +0000 |
parents | 1541c518f769 |
children | b05a6824c512 |
files | src/window.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Wed May 18 22:42:41 1994 +0000 +++ b/src/window.c Wed May 18 23:37:55 1994 +0000 @@ -1269,6 +1269,7 @@ if (NILP (another_buffer)) another_buffer = Fget_buffer_create (build_string ("*scratch*")); + XWINDOW (w)->dedicated = Qnil; Fset_window_buffer (w, another_buffer); if (EQ (w, selected_window)) Fset_buffer (XWINDOW (w)->buffer); @@ -1626,7 +1627,8 @@ is first being set up. */ { if (!NILP (w->dedicated) && !EQ (tem, buffer)) - error ("Window is dedicated to %s\n", tem); + error ("Window is dedicated to `%s'", + XSTRING (XBUFFER (tem)->name)->data); unshow_buffer (w); }