comparison src/editfns.c @ 83314:d07fdd5d7d4e

Merged from miles@gnu.org--gnu-2005 (patch 441-446) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-441 Update reference to renamed Buffer-menu-buffer face * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-442 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-443 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-444 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-445 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-446 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-354
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 25 Jun 2005 15:00:08 +0000
parents 43b9742ef102
children a8fa7c632ee4 b7da78284d4c
comparison
equal deleted inserted replaced
83313:bdcbdec78dd3 83314:d07fdd5d7d4e
2658 2658
2659 if (multibyte_p) 2659 if (multibyte_p)
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
2667 complete multibyte character, it may be combined with the 2667 complete multibyte character, it may be combined with the
2668 after bytes. If it is in the range 0xA0..0xFF, it may be 2668 after bytes. If it is in the range 0xA0..0xFF, it may be