diff options
Diffstat (limited to 'src/chartab.c')
| -rw-r--r-- | src/chartab.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/chartab.c b/src/chartab.c index 50be063759a..bfbbf798f0c 100644 --- a/src/chartab.c +++ b/src/chartab.c | |||
| @@ -1258,13 +1258,8 @@ uniprop_encode_value_numeric (Lisp_Object table, Lisp_Object value) | |||
| 1258 | break; | 1258 | break; |
| 1259 | value = make_number (i); | 1259 | value = make_number (i); |
| 1260 | if (i == size) | 1260 | if (i == size) |
| 1261 | { | 1261 | set_char_table_extras (table, 4, Fvconcat (2, ((Lisp_Object []) { |
| 1262 | Lisp_Object args[2]; | 1262 | XCHAR_TABLE (table)->extras[4], Fmake_vector (make_number (1), value) }))); |
| 1263 | |||
| 1264 | args[0] = XCHAR_TABLE (table)->extras[4]; | ||
| 1265 | args[1] = Fmake_vector (make_number (1), value); | ||
| 1266 | set_char_table_extras (table, 4, Fvconcat (2, args)); | ||
| 1267 | } | ||
| 1268 | return make_number (i); | 1263 | return make_number (i); |
| 1269 | } | 1264 | } |
| 1270 | 1265 | ||
| @@ -1307,8 +1302,8 @@ uniprop_table (Lisp_Object prop) | |||
| 1307 | { | 1302 | { |
| 1308 | struct gcpro gcpro1; | 1303 | struct gcpro gcpro1; |
| 1309 | GCPRO1 (val); | 1304 | GCPRO1 (val); |
| 1310 | result = Fload (concat2 (build_string ("international/"), table), | 1305 | AUTO_STRING (intl, "international/"); |
| 1311 | Qt, Qt, Qt, Qt); | 1306 | result = Fload (concat2 (intl, table), Qt, Qt, Qt, Qt); |
| 1312 | UNGCPRO; | 1307 | UNGCPRO; |
| 1313 | if (NILP (result)) | 1308 | if (NILP (result)) |
| 1314 | return Qnil; | 1309 | return Qnil; |