Mercurial > emacs
comparison src/indent.c @ 88377:beebc1deb7f2
Include "character.h" instead of "charset.h".
(MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of
WIDTH_BY_CHAR_HEAD.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 01 Mar 2002 01:42:20 +0000 |
parents | e9a72f369214 |
children | 2f877ed80fa6 |
comparison
equal
deleted
inserted
replaced
88376:7c109f1a7bcb | 88377:beebc1deb7f2 |
---|---|
20 Boston, MA 02111-1307, USA. */ | 20 Boston, MA 02111-1307, USA. */ |
21 | 21 |
22 #include <config.h> | 22 #include <config.h> |
23 #include "lisp.h" | 23 #include "lisp.h" |
24 #include "buffer.h" | 24 #include "buffer.h" |
25 #include "charset.h" | 25 #include "character.h" |
26 #include "category.h" | 26 #include "category.h" |
27 #include "indent.h" | 27 #include "indent.h" |
28 #include "keyboard.h" | 28 #include "keyboard.h" |
29 #include "frame.h" | 29 #include "frame.h" |
30 #include "window.h" | 30 #include "window.h" |
319 else \ | 319 else \ |
320 { \ | 320 { \ |
321 if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))) \ | 321 if (dp != 0 && VECTORP (DISP_CHAR_VECTOR (dp, c))) \ |
322 width = XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; \ | 322 width = XVECTOR (DISP_CHAR_VECTOR (dp, c))->size; \ |
323 else \ | 323 else \ |
324 width = WIDTH_BY_CHAR_HEAD (*p); \ | 324 width = CHAR_WIDTH (c); \ |
325 if (width > 1) \ | 325 if (width > 1) \ |
326 wide_column = width; \ | 326 wide_column = width; \ |
327 } \ | 327 } \ |
328 } while (0) | 328 } while (0) |
329 | 329 |