emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f9d0fd6: * src/window.c (save_window_save): Revert


From: Stefan Monnier
Subject: [Emacs-diffs] master f9d0fd6: * src/window.c (save_window_save): Revert part of d82e73f
Date: Tue, 8 Jan 2019 13:38:22 -0500 (EST)

branch: master
commit f9d0fd6c1953138f7473a22917a1508740b2ce40
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * src/window.c (save_window_save): Revert part of d82e73f
    
    ...made unnecessary by a058edae.
---
 src/window.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/window.c b/src/window.c
index 4a1db93..72185f9 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)
 
       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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]