Mercurial > emacs
changeset 21525:0ed9ea6eeef3
(indented_beyond_p): Fix mixing of Lisp_Object and int.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 14 Apr 1998 13:00:27 +0000 |
parents | e4ab93e19658 |
children | fff9425b9230 |
files | src/indent.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indent.c Tue Apr 14 13:00:00 1998 +0000 +++ b/src/indent.c Tue Apr 14 13:00:27 1998 +0000 @@ -792,14 +792,14 @@ 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; }