Mercurial > emacs
comparison src/print.c @ 89866:70daf4dac8c0
(print_prune_string_charset): Fix Lisp_Object/int mixup.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 11 Mar 2004 11:41:33 +0000 |
parents | d91b7816539c |
children | 68c22ea6027c |
comparison
equal
deleted
inserted
replaced
89865:d2b1cc2ef7f1 | 89866:70daf4dac8c0 |
---|---|
1381 string = Fcopy_sequence (string); | 1381 string = Fcopy_sequence (string); |
1382 if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) | 1382 if (print_check_string_result & PRINT_STRING_NON_CHARSET_FOUND) |
1383 { | 1383 { |
1384 if (NILP (print_prune_charset_plist)) | 1384 if (NILP (print_prune_charset_plist)) |
1385 print_prune_charset_plist = Fcons (Qcharset, Qnil); | 1385 print_prune_charset_plist = Fcons (Qcharset, Qnil); |
1386 Fremove_text_properties (0, SCHARS (string), | 1386 Fremove_text_properties (make_number (0), |
1387 make_number (SCHARS (string)), | |
1387 print_prune_charset_plist, string); | 1388 print_prune_charset_plist, string); |
1388 } | 1389 } |
1389 else | 1390 else |
1390 Fset_text_properties (0, SCHARS (string), Qnil, string); | 1391 Fset_text_properties (make_number (0), make_number (SCHARS (string)), |
1392 Qnil, string); | |
1391 } | 1393 } |
1392 return string; | 1394 return string; |
1393 } | 1395 } |
1394 | 1396 |
1395 static void | 1397 static void |