From: Richard M. Stallman Date: Mon, 3 Jun 2002 22:37:15 +0000 (+0000) Subject: (md5): Pass FILE arg to Vselect_safe_coding_system_function. X-Git-Tag: ttn-vms-21-2-B4~14779 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e59646d69096aca54f96acf0099f74f652c4a09;p=emacs.git (md5): Pass FILE arg to Vselect_safe_coding_system_function. --- diff --git a/src/fns.c b/src/fns.c index 51e3319f871..ad5cd943d62 100644 --- a/src/fns.c +++ b/src/fns.c @@ -5351,9 +5351,9 @@ guesswork fails. Normally, an error is signaled in such case. */) 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;