[librep] write string-match/string-looking-at err-msg to stderr



commit f6f62bdde6ad1bf959ccb8838f686784d386d6a3
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Sun Aug 29 08:02:30 2010 +0200

    write string-match/string-looking-at err-msg to stderr

 src/find.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/find.c b/src/find.c
index 5ac6cc8..5e88038 100644
--- a/src/find.c
+++ b/src/find.c
@@ -287,7 +287,7 @@ still case-significant.
       }
     else
       {
-	fprintf (stdout, " ** only strings are allowed to be passed to `string-match'.");
+	fprintf (stderr, " ** only strings are allowed to be passed to `string-match'.");
 	return Qnil;
       }
     rep_DECLARE3_OPT(start, rep_INTP);
@@ -327,7 +327,7 @@ Updates the match data.
       }
     else
       {
-	fprintf (stdout, " ** only strings are allowed to be passed to `string-looking-at'.");
+	fprintf (stderr, " ** only strings are allowed to be passed to `string-looking-at'.");
 	return Qnil;
       }
     rep_DECLARE3_OPT(start, rep_INTP);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]