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

src/coding.c

index a98ca65eb9d9686ad35924c5c90ba1b103fc11b7..901eadf4337adcf2e359c673c835f0f608217ef0 100644 (file)
@@ -4049,7 +4049,8 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
          new buffer.  */
       struct buffer *prev = current_buffer, *new;
 
-      call2 (coding->pre_write_conversion, from, to);
+      call2 (coding->pre_write_conversion,
+            make_number (from), make_number (to));
       if (current_buffer != prev)
        {
          len = ZV - BEGV;