(Ffind_operation_coding_system): Call a function by
authorKenichi Handa <handa@m17n.org>
Mon, 29 May 2006 00:57:27 +0000 (00:57 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 29 May 2006 00:57:27 +0000 (00:57 +0000)
safe_call1 instead of call1.

src/ChangeLog
src/coding.c

index fecf2dd..f210ed3 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-29  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (Ffind_operation_coding_system): Call a function by
+       safe_call1 instead of call1.
+
 2006-05-28  Kim F. Storm  <storm@cua.dk>
 
        * xdisp.c (set_cursor_from_row): If cursor cannot be set in row,
index 5ef412a..03c07c3 100644 (file)
@@ -7539,7 +7539,7 @@ usage: (find-operation-coding-system OPERATION ARGUMENTS ...)  */)
            return Fcons (val, val);
          if (! NILP (Ffboundp (val)))
            {
-             val = call1 (val, Flist (nargs, args));
+             val = safe_call1 (val, Flist (nargs, args));
              if (CONSP (val))
                return val;
              if (SYMBOLP (val) && ! NILP (Fcoding_system_p (val)))