aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorRichard M. Stallman1998-02-03 06:22:02 +0000
committerRichard M. Stallman1998-02-03 06:22:02 +0000
commitab5c3f933d5e8add053fd33f338978715d501078 (patch)
tree34a62921c411940426f448d1a66eefee26201da0 /src/data.c
parente781c49e61b12bcf26c92e5d50c4264186c4a050 (diff)
downloademacs-ab5c3f933d5e8add053fd33f338978715d501078.tar.gz
emacs-ab5c3f933d5e8add053fd33f338978715d501078.zip
(Faref, Faset): Allow indexing a char-table
directly by numbers up to CHAR_TABLE_ORDINARY_SLOTS.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index 4537e649b7f..ba7ed98b527 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1574,7 +1574,7 @@ or a byte-code object. IDX starts at 0.")
1574 1574
1575 if (idxval < 0) 1575 if (idxval < 0)
1576 args_out_of_range (array, idx); 1576 args_out_of_range (array, idx);
1577 if (idxval < CHAR_TABLE_SINGLE_BYTE_SLOTS) 1577 if (idxval < CHAR_TABLE_ORDINARY_SLOTS)
1578 { 1578 {
1579 /* For ASCII and 8-bit European characters, the element is 1579 /* For ASCII and 8-bit European characters, the element is
1580 stored in the top table. */ 1580 stored in the top table. */
@@ -1702,7 +1702,7 @@ IDX starts at 0.")
1702 1702
1703 if (idxval < 0) 1703 if (idxval < 0)
1704 args_out_of_range (array, idx); 1704 args_out_of_range (array, idx);
1705 if (idxval < CHAR_TABLE_SINGLE_BYTE_SLOTS) 1705 if (idxval < CHAR_TABLE_ORDINARY_SLOTS)
1706 XCHAR_TABLE (array)->contents[idxval] = newelt; 1706 XCHAR_TABLE (array)->contents[idxval] = newelt;
1707 else 1707 else
1708 { 1708 {