# HG changeset patch # User Pavel Jank # Date 1023254208 0 # Node ID a181c1d41a7873569e312d0ef5bc497c336ef551 # Parent 86424df72c8ba93c82c4e8bab09488fd73924ec7 (choose_write_coding_system): Call select-safe-coding-system properly. diff -r 86424df72c8b -r a181c1d41a78 src/fileio.c --- a/src/fileio.c Wed Jun 05 05:07:58 2002 +0000 +++ b/src/fileio.c Wed Jun 05 05:16:48 2002 +0000 @@ -4674,8 +4674,8 @@ if (!force_raw_text && !NILP (Ffboundp (Vselect_safe_coding_system_function))) /* Confirm that VAL can surely encode the current region. */ - val = call4 (Vselect_safe_coding_system_function, - start, end, val, filename); + val = call5 (Vselect_safe_coding_system_function, + start, end, val, Qnil, filename); setup_coding_system (Fcheck_coding_system (val), coding); if (coding->eol_type == CODING_EOL_UNDECIDED