]> git.eshelyaron.com Git - emacs.git/commitdiff
(indented_beyond_p): Fix mixing of Lisp_Object and int.
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:00:27 +0000 (13:00 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:00:27 +0000 (13:00 +0000)
src/indent.c

index 33313a41c7805dd929d0fc624295b8a439d2c1a6..4d4f4b4b0cae0deba9bcecfcc5eb83cb726ffffa 100644 (file)
@@ -792,14 +792,14 @@ int
 indented_beyond_p (pos, pos_byte, column)
      int pos, pos_byte, column;
 {
-  Lisp_Object val;
+  int val;
   int opoint = PT, opoint_byte = PT_BYTE;
 
   SET_PT_BOTH (pos, pos_byte);
   while (PT > BEGV && FETCH_BYTE (PT_BYTE) == '\n')
     scan_newline (PT - 1, PT_BYTE - 1, BEGV, BEGV_BYTE, -1, 0);
 
-  XSETFASTINT (val, position_indentation (PT_BYTE));
+  val = position_indentation (PT_BYTE);
   SET_PT_BOTH (opoint, opoint_byte);
   return val;
 }