Mercurial > hg > xemacs-beta
diff src/indent.c @ 185:3d6bfa290dbd r20-3b19
Import from CVS: tag r20-3b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:55:28 +0200 |
parents | 8eaf7971accc |
children | c5d627a313b1 |
line wrap: on
line diff
--- a/src/indent.c Mon Aug 13 09:54:24 2007 +0200 +++ b/src/indent.c Mon Aug 13 09:55:28 2007 +0200 @@ -114,7 +114,7 @@ /* Cancel any recorded value of the horizontal position. */ - + void invalidate_current_column (void) { @@ -243,7 +243,7 @@ CHECK_INT (minimum); XSETBUFFER (buffer, buf); - + fromcol = current_column (buf); mincol = fromcol + XINT (minimum); if (mincol < XINT (col)) mincol = XINT (col); @@ -252,7 +252,7 @@ return make_int (mincol); if (tab_width <= 0 || tab_width > 1000) tab_width = 8; - + if (!NILP (Fextent_at (make_int (BUF_PT (buf)), buffer, Qinvisible, Qnil, Qnil))) { @@ -261,7 +261,7 @@ opoint = BUF_PT (buf); if (last_visible >= BUF_BEGV (buf)) BUF_SET_PT (buf, last_visible); - else + else error ("Visible portion of buffer not modifiable"); }