diff options
| author | Paul Eggert | 2011-03-08 00:13:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-08 00:13:36 -0800 |
| commit | bbcd0949d9cd085b6838c03f3d89171f967372fa (patch) | |
| tree | 31aaae524bcf6fec86cd2dfda14135a366e838bc /src/chartab.c | |
| parent | 5c156ace080f89b44c73cd78d404c7263fe2003e (diff) | |
| download | emacs-bbcd0949d9cd085b6838c03f3d89171f967372fa.tar.gz emacs-bbcd0949d9cd085b6838c03f3d89171f967372fa.zip | |
* chartab.c (ASET_RANGE, GET_SUB_CHAR_TABLE): Remove unused macros.
Diffstat (limited to 'src/chartab.c')
| -rw-r--r-- | src/chartab.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/chartab.c b/src/chartab.c index ec5b2ffab76..85aa5932ac3 100644 --- a/src/chartab.c +++ b/src/chartab.c | |||
| @@ -331,20 +331,6 @@ char_table_ref_and_range (Lisp_Object table, int c, int *from, int *to) | |||
| 331 | } | 331 | } |
| 332 | 332 | ||
| 333 | 333 | ||
| 334 | #define ASET_RANGE(ARRAY, FROM, TO, LIMIT, VAL) \ | ||
| 335 | do { \ | ||
| 336 | int limit = (TO) < (LIMIT) ? (TO) : (LIMIT); \ | ||
| 337 | for (; (FROM) < limit; (FROM)++) (ARRAY)->contents[(FROM)] = (VAL); \ | ||
| 338 | } while (0) | ||
| 339 | |||
| 340 | #define GET_SUB_CHAR_TABLE(TABLE, SUBTABLE, IDX, DEPTH, MIN_CHAR) \ | ||
| 341 | do { \ | ||
| 342 | (SUBTABLE) = (TABLE)->contents[(IDX)]; \ | ||
| 343 | if (!SUB_CHAR_TABLE_P (SUBTABLE)) \ | ||
| 344 | (SUBTABLE) = make_sub_char_table ((DEPTH), (MIN_CHAR), (SUBTABLE)); \ | ||
| 345 | } while (0) | ||
| 346 | |||
| 347 | |||
| 348 | static void | 334 | static void |
| 349 | sub_char_table_set (Lisp_Object table, int c, Lisp_Object val) | 335 | sub_char_table_set (Lisp_Object table, int c, Lisp_Object val) |
| 350 | { | 336 | { |