aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-15 11:40:46 +0000
committerGerd Moellmann2001-10-15 11:40:46 +0000
commitaa601ad023cf2548ef8e107475ea5ac1d3f8e9ef (patch)
tree5f959724dca952259c23beb89cc8655a13da0735 /src
parentdd8d1e71ef11f3722fc4e5607b45c32839d1b000 (diff)
downloademacs-aa601ad023cf2548ef8e107475ea5ac1d3f8e9ef.tar.gz
emacs-aa601ad023cf2548ef8e107475ea5ac1d3f8e9ef.zip
(window_loop): Don't check for Fother_buffer returning nil.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/window.c4
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5045871d930..f8b2daf929c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12001-10-15 Gerd Moellmann <gerd@gnu.org>
2
3 * window.c (window_loop): Don't check for Fother_buffer returning
4 nil.
5
6 * window.c (select_window_1): Unfreeze window start. Remove a
7 doubled test for WINDOW being live.
8
12001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 92001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 10
3 * fns.c (Fmapconcat): Fix typo in a doc string. 11 * fns.c (Fmapconcat): Fix typo in a doc string.
diff --git a/src/window.c b/src/window.c
index 8f7dd74cf88..4c629113d9d 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1854,8 +1854,6 @@ window_loop (type, obj, mini, frames)
1854 display there. */ 1854 display there. */
1855 Lisp_Object buffer; 1855 Lisp_Object buffer;
1856 buffer = Fother_buffer (obj, Qnil, w->frame); 1856 buffer = Fother_buffer (obj, Qnil, w->frame);
1857 if (NILP (buffer))
1858 buffer = Fget_buffer_create (build_string ("*scratch*"));
1859 Fset_window_buffer (window, buffer); 1857 Fset_window_buffer (window, buffer);
1860 if (EQ (window, selected_window)) 1858 if (EQ (window, selected_window))
1861 Fset_buffer (w->buffer); 1859 Fset_buffer (w->buffer);
@@ -1891,8 +1889,6 @@ window_loop (type, obj, mini, frames)
1891 1889
1892 /* Find another buffer to show in this window. */ 1890 /* Find another buffer to show in this window. */
1893 buffer = Fother_buffer (obj, Qnil, w->frame); 1891 buffer = Fother_buffer (obj, Qnil, w->frame);
1894 if (NILP (buffer))
1895 buffer = Fget_buffer_create (build_string ("*scratch*"));
1896 1892
1897 /* If this window is dedicated, and in a frame of its own, 1893 /* If this window is dedicated, and in a frame of its own,
1898 kill the frame. */ 1894 kill the frame. */