Commit 34c0dab2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fcoordinates_in_window_p): Convert Fcons arguments to Lisp_Integer.

(save_window_save): Convert Fset_marker argument to Lisp_Integer.
parent e607a484
......@@ -457,7 +457,7 @@ If they are on the border between WINDOW and its right sibling,\n\
return Qnil;
case 1: /* In text part of window. */
return Fcons (x, y);
return Fcons (make_number (x), make_number (y));
case 2: /* In mode line of window. */
return Qmode_line;
......@@ -3522,7 +3522,8 @@ save_window_save (window, vector, i)
if (EQ (window, selected_window))
p->pointm = Fmake_marker ();
Fset_marker (p->pointm, BUF_PT (XBUFFER (w->buffer)),
Fset_marker (p->pointm,
make_number (BUF_PT (XBUFFER (w->buffer))),
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