diff options
author | Karl Heuer <kwzh@gnu.org> | 1997-02-20 06:39:27 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1997-02-20 06:39:27 +0000 |
commit | a997a7ca075879b76589d5e9ab47209cd31ef0f6 (patch) | |
tree | cf7ef2c24b62ee52e7848e469d9afa916080ab02 /src/marker.c | |
parent | 24e86043a46159fdf2b69705e8948b67f1d9ba39 (diff) | |
download | emacs-a997a7ca075879b76589d5e9ab47209cd31ef0f6.tar.gz emacs-a997a7ca075879b76589d5e9ab47209cd31ef0f6.tar.bz2 emacs-a997a7ca075879b76589d5e9ab47209cd31ef0f6.zip |
(current_column_bol_cache): New variable. This makes
move_to_column faster.
(current_column): Set current_column_bol_cache.
(current_column_1): Likewise.
(Fmove_to_column): Use current_column_bol_cache.
(current_column): When the buffer may have multi-byte
characters, call current_column_1.
(compute_motion): Handle multi-byte characters.
(current_column_1): Likewise.
(Fmove_to_column): Likewise.
Include "charset.h".
(compute_motion): Remove the variable PREV_VPOS.
Introduce new local variables (multibyte, wide_column, prev_pos,
contin_hpos, prev_tab_offset) to handle multi-byte characters and
wide-column characters.
(pos_tab_offset): Specify "- (1 << (BITS_PER_SHORT - 1))"
to express big negative number (for consistency with xdisp.c).
(vmotion): Specify "1 << (BITS_PER_SHORT - 1)" to
express "Don't care".
Diffstat (limited to 'src/marker.c')
0 files changed, 0 insertions, 0 deletions