# HG changeset patch # User Richard M. Stallman # Date 1023143835 0 # Node ID 6adda7388fcc488dccdd941511e8d672424babea # Parent 6d7e86e98b2ca0778be4c3559088e02d24e28b57 (md5): Pass FILE arg to Vselect_safe_coding_system_function. diff -r 6d7e86e98b2c -r 6adda7388fcc src/fns.c --- a/src/fns.c Mon Jun 03 22:36:06 2002 +0000 +++ b/src/fns.c Mon Jun 03 22:37:15 2002 +0000 @@ -5351,9 +5351,9 @@ if (!force_raw_text && !NILP (Ffboundp (Vselect_safe_coding_system_function))) /* Confirm that VAL can surely encode the current region. */ - coding_system = call3 (Vselect_safe_coding_system_function, + coding_system = call4 (Vselect_safe_coding_system_function, make_number (b), make_number (e), - coding_system); + coding_system, Qnil); if (force_raw_text) coding_system = Qraw_text;