Mercurial > emacs
diff src/indent.c @ 8601:c67a4530319e
(pos_tab_offset): Don't trigger point-motion hooks.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 23 Aug 1994 23:00:56 +0000 |
parents | a03be411d008 |
children | f047d8c6db79 |
line wrap: on
line diff
--- a/src/indent.c Tue Aug 23 22:58:08 1994 +0000 +++ b/src/indent.c Tue Aug 23 23:00:56 1994 +0000 @@ -721,15 +721,15 @@ struct window *w; register int pos; { - int opoint = point; + int opoint = PT; int col; int width = window_internal_width (w) - 1; if (pos == BEGV || FETCH_CHAR (pos - 1) == '\n') return 0; - SET_PT (pos); + TEMP_SET_PT (pos); col = current_column (); - SET_PT (opoint); + TEMP_SET_PT (opoint); return col - (col % width); }