]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_for_insert, direct_output_forward_char): Fix Lisp_Object
authorKarl Heuer <kwzh@gnu.org>
Mon, 19 Sep 1994 00:16:13 +0000 (00:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 19 Sep 1994 00:16:13 +0000 (00:16 +0000)
vs. int problems.

src/dispnew.c

index 9922574920a264a4a656c6b3d280de3144aedfc8..0faabda929867940fe5a55a44ed269a583b0cf7c 100644 (file)
@@ -1077,7 +1077,7 @@ direct_output_for_insert (g)
      At the moment we only lose at end of line or end of buffer
      and only with faces that have some background */
   /* Instead of wasting time, give up if character has any text properties */
-      || ! NILP (Ftext_properties_at (XFASTINT (point - 1), Qnil))
+      || ! NILP (Ftext_properties_at (make_number (point - 1), Qnil))
 #endif
 
   /* Give up if w is minibuffer and a message is being displayed there */
@@ -1123,7 +1123,7 @@ direct_output_forward_char (n)
 {
   register FRAME_PTR frame = selected_frame;
   register struct window *w = XWINDOW (selected_window);
-  int position;
+  Lisp_Object position;
   int hpos = FRAME_CURSOR_X (frame);
 
   /* Give up if in truncated text at end of line.  */