aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index 4a1db932ec3..72185f9340a 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6965,11 +6965,9 @@ save_window_save (Lisp_Object window, struct Lisp_Vector *vector, ptrdiff_t i)
6965 6965
6966 if (BUFFERP (w->contents)) 6966 if (BUFFERP (w->contents))
6967 { 6967 {
6968 Lisp_Object buffer_local_window_point_insertion_type
6969 = (buffer_local_value (Qwindow_point_insertion_type, w->contents));
6970 bool window_point_insertion_type 6968 bool window_point_insertion_type
6971 = (!NILP (buffer_local_window_point_insertion_type) 6969 = !NILP (buffer_local_value
6972 && !EQ (buffer_local_window_point_insertion_type, Qunbound)); 6970 (Qwindow_point_insertion_type, w->contents));
6973 6971
6974 /* Save w's value of point in the window configuration. If w 6972 /* Save w's value of point in the window configuration. If w
6975 is the selected window, then get the value of point from 6973 is the selected window, then get the value of point from