# HG changeset patch # User Karl Heuer # Date 777682856 0 # Node ID c67a4530319e7225689d21f18edc324da155e852 # Parent 0c56de09028dd53f25a5fa3515323abe26a02b2e (pos_tab_offset): Don't trigger point-motion hooks. diff -r 0c56de09028d -r c67a4530319e src/indent.c --- 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); }