aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2002-06-05 05:16:48 +0000
committerPavel Janík2002-06-05 05:16:48 +0000
commit905a4276579668a495d708c1fa6094047bf5a61e (patch)
tree45caf85c84761889277fc92acdb9620fce67f6b1 /src
parente816098cb84bf96ddd2a33bc1108cbeb12864bf3 (diff)
downloademacs-905a4276579668a495d708c1fa6094047bf5a61e.tar.gz
emacs-905a4276579668a495d708c1fa6094047bf5a61e.zip
(choose_write_coding_system): Call select-safe-coding-system properly.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
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,
4674 if (!force_raw_text 4674 if (!force_raw_text
4675 && !NILP (Ffboundp (Vselect_safe_coding_system_function))) 4675 && !NILP (Ffboundp (Vselect_safe_coding_system_function)))
4676 /* Confirm that VAL can surely encode the current region. */ 4676 /* Confirm that VAL can surely encode the current region. */
4677 val = call4 (Vselect_safe_coding_system_function, 4677 val = call5 (Vselect_safe_coding_system_function,
4678 start, end, val, filename); 4678 start, end, val, Qnil, filename);
4679 4679
4680 setup_coding_system (Fcheck_coding_system (val), coding); 4680 setup_coding_system (Fcheck_coding_system (val), coding);
4681 if (coding->eol_type == CODING_EOL_UNDECIDED 4681 if (coding->eol_type == CODING_EOL_UNDECIDED