diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-11 17:25:10 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-11 17:25:10 +0400 |
commit | 6020559a093bf243be6cd6a866933b4368ea67cc (patch) | |
tree | b722d61837c6f76447a76f58ac975f4d327ce1e4 /lisp/emacs-lisp | |
parent | 30818a239e7b1222ec776603aa29786638efbb47 (diff) | |
download | emacs-6020559a093bf243be6cd6a866933b4368ea67cc.tar.gz emacs-6020559a093bf243be6cd6a866933b4368ea67cc.tar.bz2 emacs-6020559a093bf243be6cd6a866933b4368ea67cc.zip |
Avoid unnecessary byte position calculation for the gap movement.
Since all users of move_gap do CHAR_TO_BYTE for other purposes
anyway, all of them should use move_gap_both instead.
* lisp.h (move_gap): Remove prototype.
* insdel.c (move_gap): Remove.
(move_gap_both): Add eassert.
* editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
* xml.c (parse_region): Likewise.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions