Mercurial > emacs
diff src/ccl.c @ 35529:c0bf5507a0bb
(ccl_driver): If ccl->suppress_error is nonzeor, don't
insert error message to the output.
(setup_ccl_program): Initialize ccl->suppress_error to 0.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 24 Jan 2001 23:29:59 +0000 |
parents | add3de5a4293 |
children | 0542807f1a5f |
line wrap: on
line diff
--- a/src/ccl.c Wed Jan 24 23:29:42 2001 +0000 +++ b/src/ccl.c Wed Jan 24 23:29:59 2001 +0000 @@ -1720,7 +1720,8 @@ } ccl_error_handler: - if (destination) + if (ccl->suppress_error + && destination) { /* We can insert an error message only if DESTINATION is specified and we still have a room to store the message @@ -1937,6 +1938,7 @@ ccl->status = 0; ccl->stack_idx = 0; ccl->eol_type = CODING_EOL_LF; + ccl->suppress_error = 0; return 0; }