diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-10-16 11:56:44 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-10-16 11:56:44 +0400 |
commit | 12fbe7552ce1614d54728736ea11a75fc5e0761f (patch) | |
tree | d507cc09a104c185eb43cf5a924bff2e4b6f8b86 /src/indent.c | |
parent | 61655b89f454597079c7f1ddf680d654c2c5f4e8 (diff) | |
download | emacs-12fbe7552ce1614d54728736ea11a75fc5e0761f.tar.gz |
* alloc.c (Fmake_byte_code): Fix typo in comment.
* print.c (print_interval): Define as static to match prototype.
* indent.c (disptab_matches_widthtab, recompute_width_table):
Convert to eassert.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/indent.c b/src/indent.c index 81a63455ecb..bbc944d2518 100644 --- a/src/indent.c +++ b/src/indent.c @@ -119,8 +119,7 @@ disptab_matches_widthtab (struct Lisp_Char_Table *disptab, struct Lisp_Vector *w { int i; - if (widthtab->header.size != 256) - emacs_abort (); + eassert (widthtab->header.size == 256); for (i = 0; i < 256; i++) if (character_width (i, disptab) @@ -141,8 +140,7 @@ recompute_width_table (struct buffer *buf, struct Lisp_Char_Table *disptab) if (!VECTORP (BVAR (buf, width_table))) bset_width_table (buf, Fmake_vector (make_number (256), make_number (0))); widthtab = XVECTOR (BVAR (buf, width_table)); - if (widthtab->header.size != 256) - emacs_abort (); + eassert (widthtab->header.size == 256); for (i = 0; i < 256; i++) XSETFASTINT (widthtab->contents[i], character_width (i, disptab)); |