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
06d74a65
Commit
06d74a65
authored
Mar 01, 1999
by
Karl Heuer
Browse files
(internal_self_insert): Calculate column properly
in overwrite-of-tab case.
parent
e5405338
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/cmds.c
src/cmds.c
+1
-1
No files found.
src/cmds.c
View file @
06d74a65
...
...
@@ -398,7 +398,7 @@ internal_self_insert (c, noautofill)
&&
XINT
(
current_buffer
->
tab_width
)
>
0
&&
XFASTINT
(
current_buffer
->
tab_width
)
<
20
&&
(
target_clm
=
(
current_column
()
+
XINT
(
Fchar_width
(
make_number
(
c
2
)))),
+
XINT
(
Fchar_width
(
make_number
(
c
)))),
target_clm
%
XFASTINT
(
current_buffer
->
tab_width
)))))
{
int
pos
=
PT
;
...
...
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