From 3d94e94328f4a83af28465687c7531a12a6fb53e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 23 Aug 1994 23:00:56 +0000 Subject: [PATCH] (pos_tab_offset): Don't trigger point-motion hooks. --- src/indent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/indent.c b/src/indent.c index 5e09526e6c8..e90bc403288 100644 --- a/src/indent.c +++ b/src/indent.c @@ -721,15 +721,15 @@ pos_tab_offset (w, pos) 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); } -- 2.39.5