diff options
| author | Kenichi Handa | 2004-03-11 11:41:33 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-03-11 11:41:33 +0000 |
| commit | eabe04c00f257b287c897d55c3293e050993e3da (patch) | |
| tree | db492a334da320946e0f7ffa5f151832b4c7bf84 /src | |
| parent | e1a14cdc74e1061adbc227db18cc8a191fa50755 (diff) | |
| download | emacs-eabe04c00f257b287c897d55c3293e050993e3da.tar.gz emacs-eabe04c00f257b287c897d55c3293e050993e3da.zip | |
(print_prune_string_charset): Fix Lisp_Object/int mixup.
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c index 6baec1202ea..1d4df434475 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1383,11 +1383,13 @@ print_prune_string_charset (string) | |||
| 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 | } |