]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/window.c (save_window_save): Revert part of d82e73f
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Jan 2019 18:38:17 +0000 (13:38 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Jan 2019 18:38:17 +0000 (13:38 -0500)
...made unnecessary by a058edae.

src/window.c

index 4a1db932ec3cebb178945925d5bdb280cd305f53..72185f9340a7bbb31138cffabe9f2afd84062af3 100644 (file)
@@ -6965,11 +6965,9 @@ save_window_save (Lisp_Object window, struct Lisp_Vector *vector, ptrdiff_t i)
 
       if (BUFFERP (w->contents))
        {
-         Lisp_Object buffer_local_window_point_insertion_type
-           = (buffer_local_value (Qwindow_point_insertion_type, w->contents));
          bool window_point_insertion_type
-           = (!NILP (buffer_local_window_point_insertion_type)
-              && !EQ (buffer_local_window_point_insertion_type, Qunbound));
+           = !NILP (buffer_local_value
+                      (Qwindow_point_insertion_type, w->contents));
 
          /* Save w's value of point in the window configuration.  If w
             is the selected window, then get the value of point from