From: Pavel Janík Date: Wed, 5 Jun 2002 05:16:48 +0000 (+0000) Subject: (choose_write_coding_system): Call select-safe-coding-system properly. X-Git-Tag: ttn-vms-21-2-B4~14769 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=905a4276579668a495d708c1fa6094047bf5a61e;p=emacs.git (choose_write_coding_system): Call select-safe-coding-system properly. --- diff --git a/src/fileio.c b/src/fileio.c index 29bd3ecfff3..de8f7662e05 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4674,8 +4674,8 @@ choose_write_coding_system (start, end, filename, 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