Commit de8c03dc authored by Stefan Monnier's avatar Stefan Monnier

* src/window.c (save_window_save): Obey window-point-insertion-type.

* lisp/window.el (window--state-get-1): Idem.
parent 050cc68b
2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
* window.el (window--state-get-1): Obey window-point-insertion-type.
2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
......
......@@ -3643,7 +3643,11 @@ specific buffers."
(scroll-bars . ,(window-scroll-bars window))
(vscroll . ,(window-vscroll window))
(dedicated . ,(window-dedicated-p window))
(point . ,(if writable point (copy-marker point)))
(point . ,(if writable point
(copy-marker point
(buffer-local-value
'window-point-insertion-type
buffer))))
(start . ,(if writable start (copy-marker start)))))))))
(tail
(when (memq type '(vc hc))
......
2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
* window.c (save_window_save): Obey window-point-insertion-type.
2012-04-11 Glenn Morris <rgm@gnu.org>
* Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
......
......@@ -5945,6 +5945,8 @@ save_window_save (Lisp_Object window, struct Lisp_Vector *vector, int i)
}
else
p->pointm = Fcopy_marker (w->pointm, Qnil);
XMARKER (p->pointm)->insertion_type
= !NILP (Vwindow_point_insertion_type);
p->start = Fcopy_marker (w->start, Qnil);
p->start_at_line_beg = w->start_at_line_beg;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment