diff options
| author | Juanma Barranquero | 2003-04-06 13:32:17 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-04-06 13:32:17 +0000 |
| commit | b1f81fc530edd396c57c8280054e6c263e7bcf19 (patch) | |
| tree | 3587db8a6e50b81353b71d48006d7212bc201dd8 /src | |
| parent | d02fcd847e4d61be9e1dbd8506a6910166c8280f (diff) | |
| download | emacs-b1f81fc530edd396c57c8280054e6c263e7bcf19.tar.gz emacs-b1f81fc530edd396c57c8280054e6c263e7bcf19.zip | |
(Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub char tables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/fns.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 526998f5d82..d89bf8533da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,9 @@ | |||
| 1 | 2003-04-04 Kenichi Handa <handa@etlken2> | 1 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
| 2 | |||
| 3 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | ||
| 4 | char tables. | ||
| 5 | |||
| 6 | 2003-04-04 Kenichi Handa <handa@m17n.org> | ||
| 2 | 7 | ||
| 3 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | 8 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can |
| 4 | destructively change "%S" to "%s". | 9 | destructively change "%S" to "%s". |
| @@ -21,7 +26,7 @@ | |||
| 21 | 26 | ||
| 22 | * macterm.h (struct mac_output): Define x_pixels_diff and | 27 | * macterm.h (struct mac_output): Define x_pixels_diff and |
| 23 | y_pixels_diff. | 28 | y_pixels_diff. |
| 24 | 29 | ||
| 25 | 2003-03-31 Juanma Barranquero <lektu@terra.es> | 30 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
| 26 | 31 | ||
| 27 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | 32 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on |
| @@ -142,6 +142,8 @@ To get the number of bytes, use `string-bytes'. */) | |||
| 142 | XSETFASTINT (val, SCHARS (sequence)); | 142 | XSETFASTINT (val, SCHARS (sequence)); |
| 143 | else if (VECTORP (sequence)) | 143 | else if (VECTORP (sequence)) |
| 144 | XSETFASTINT (val, XVECTOR (sequence)->size); | 144 | XSETFASTINT (val, XVECTOR (sequence)->size); |
| 145 | else if (SUB_CHAR_TABLE_P (sequence)) | ||
| 146 | XSETFASTINT (val, SUB_CHAR_TABLE_ORDINARY_SLOTS); | ||
| 145 | else if (CHAR_TABLE_P (sequence)) | 147 | else if (CHAR_TABLE_P (sequence)) |
| 146 | XSETFASTINT (val, MAX_CHAR); | 148 | XSETFASTINT (val, MAX_CHAR); |
| 147 | else if (BOOL_VECTOR_P (sequence)) | 149 | else if (BOOL_VECTOR_P (sequence)) |