aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-14 12:58:24 +0000
committerAndreas Schwab1998-04-14 12:58:24 +0000
commitb266ae04d722c6ee06c62b949f7f3eba49788b14 (patch)
treec73cbc5b3efbed7f148ab97e654617e8e7e12d8a /src
parentb98ef0dcdbb75a0fc93e10259330e882017d1b03 (diff)
downloademacs-b266ae04d722c6ee06c62b949f7f3eba49788b14.tar.gz
emacs-b266ae04d722c6ee06c62b949f7f3eba49788b14.zip
(Fwrite_region): Fix mixing of Lisp_Object and int.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 7a8ddff0f37..d49d107b9f4 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4030,7 +4030,7 @@ to the file, instead of any buffer contents, and END is ignored.")
4030 ? XCONS (coding_systems)->cdr 4030 ? XCONS (coding_systems)->cdr
4031 : current_buffer->buffer_file_coding_system); 4031 : current_buffer->buffer_file_coding_system);
4032 /* Confirm that VAL can surely encode the current region. */ 4032 /* Confirm that VAL can surely encode the current region. */
4033 if (Ffboundp (Vselect_safe_coding_system_function)) 4033 if (!NILP (Ffboundp (Vselect_safe_coding_system_function)))
4034 val = call3 (Vselect_safe_coding_system_function, start, end, val); 4034 val = call3 (Vselect_safe_coding_system_function, start, end, val);
4035 } 4035 }
4036 setup_coding_system (Fcheck_coding_system (val), &coding); 4036 setup_coding_system (Fcheck_coding_system (val), &coding);