]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fwrite_region): Fix mixing of Lisp_Object and int.
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 12:58:24 +0000 (12:58 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 12:58:24 +0000 (12:58 +0000)
src/fileio.c

index 7a8ddff0f37d56ec771121613d7fbbcfafb5979a..d49d107b9f4fc457a71555f3ad9c4c9c5978f242 100644 (file)
@@ -4030,7 +4030,7 @@ to the file, instead of any buffer contents, and END is ignored.")
               ? XCONS (coding_systems)->cdr
               : current_buffer->buffer_file_coding_system);
        /* Confirm that VAL can surely encode the current region.  */
-       if (Ffboundp (Vselect_safe_coding_system_function))
+       if (!NILP (Ffboundp (Vselect_safe_coding_system_function)))
          val = call3 (Vselect_safe_coding_system_function, start, end, val);
       }
     setup_coding_system (Fcheck_coding_system (val), &coding);