Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3d94e943
Commit
3d94e943
authored
Aug 23, 1994
by
Karl Heuer
Browse files
(pos_tab_offset): Don't trigger point-motion hooks.
parent
aba05ae4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/indent.c
src/indent.c
+3
-3
No files found.
src/indent.c
View file @
3d94e943
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment