HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid calls to CHAR_TO_BYTE if byte position is known.
[bpt/emacs.git]
/
src
/
fileio.c
diff --git
a/src/fileio.c
b/src/fileio.c
index
26150a7
..
45f3b77
100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-4131,7
+4131,7
@@
variable `last-coding-system-used' to the coding system actually used. */)
prepare_to_modify_buffer (GPT, GPT, NULL);
}
- move_gap
(PT
);
+ move_gap
_both (PT, PT_BYTE
);
if (GAP_SIZE < total)
make_gap (total - GAP_SIZE);