changeset 45640:a181c1d41a78

(choose_write_coding_system): Call select-safe-coding-system properly.
author Pavel Janík <Pavel@Janik.cz>
date Wed, 05 Jun 2002 05:16:48 +0000
parents 86424df72c8b
children d1d326ead96d
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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