Commit 3d94e943 authored by Karl Heuer's avatar Karl Heuer
Browse files

(pos_tab_offset): Don't trigger point-motion hooks.

parent aba05ae4
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment