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
f3e1f752
Commit
f3e1f752
authored
Jan 02, 1998
by
Richard M. Stallman
Browse files
(transpose_markers): Update marker's bytepos.
parent
1f03507f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/editfns.c
src/editfns.c
+1
-2
No files found.
src/editfns.c
View file @
f3e1f752
...
...
@@ -2478,8 +2478,7 @@ transpose_markers (start1, end1, start2, end2,
mpos
+=
diff_byte
;
else
mpos
-=
amt2_byte
;
if
(
mpos
>
GPT_BYTE
)
mpos
+=
GAP_SIZE
;
XMARKER
(
marker
)
->
bufpos
=
mpos
;
XMARKER
(
marker
)
->
bytepos
=
mpos
;
}
mpos
=
XMARKER
(
marker
)
->
charpos
;
if
(
mpos
>=
start1
&&
mpos
<
end2
)
...
...
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