aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorJuanma Barranquero2005-06-23 16:06:58 +0000
committerJuanma Barranquero2005-06-23 16:06:58 +0000
commitfdd6025e589453f93ec47dfc42ada04bd0248f7c (patch)
tree525fdaec0c9f4703fe388325634c0cd677286aee /src/editfns.c
parent861e19b931e3bd7b2bb169bac92b5c53ab07f839 (diff)
downloademacs-fdd6025e589453f93ec47dfc42ada04bd0248f7c.tar.gz
emacs-fdd6025e589453f93ec47dfc42ada04bd0248f7c.zip
(Fsubst_char_in_region): Follow error conventions.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 4bc5336e997..a7296c4428f 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2660,7 +2660,7 @@ Both characters must have the same length of multi-byte form. */)
2660 { 2660 {
2661 len = CHAR_STRING (XFASTINT (fromchar), fromstr); 2661 len = CHAR_STRING (XFASTINT (fromchar), fromstr);
2662 if (CHAR_STRING (XFASTINT (tochar), tostr) != len) 2662 if (CHAR_STRING (XFASTINT (tochar), tostr) != len)
2663 error ("Characters in subst-char-in-region have different byte-lengths"); 2663 error ("Characters in `subst-char-in-region' have different byte-lengths");
2664 if (!ASCII_BYTE_P (*tostr)) 2664 if (!ASCII_BYTE_P (*tostr))
2665 { 2665 {
2666 /* If *TOSTR is in the range 0x80..0x9F and TOCHAR is not a 2666 /* If *TOSTR is in the range 0x80..0x9F and TOCHAR is not a