• Paul Eggert's avatar
    Don't assume that tab-width fits in int. · a2271ba2
    Paul Eggert authored
    * character.h (sanitize_width): New inline function.
    (SANE_TAB_WIDTH): New macro.
    (ASCII_CHAR_WIDTH): Use it.
    * indent.c (sane_tab_width): Remove.  All uses replaced by
    SANE_TAB_WIDTH (current_buffer).
    * xdisp.c (init_iterator): Use SANE_TAB_WIDTH.
    a2271ba2
xdisp.c 841 KB