diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-18 14:57:37 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-18 14:57:37 -0700 |
commit | a2271ba21087837896098f97663efaa60eab943e (patch) | |
tree | 69175b766600cf348b87cf8f774b249e0c592315 /src/coding.h | |
parent | 18c525570121d8d3df377f85ec5b6f44fe39524a (diff) | |
download | emacs-a2271ba21087837896098f97663efaa60eab943e.tar.gz emacs-a2271ba21087837896098f97663efaa60eab943e.tar.bz2 emacs-a2271ba21087837896098f97663efaa60eab943e.zip |
Don't assume that tab-width fits in int.
* 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.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions