From 48839d2ed7f4752ceb3efa350bd90a532c073421 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 31 Oct 1998 05:12:07 +0000 Subject: [PATCH] (Fsubst_char_in_region): Fix previous change. (Ftranslate_region): Fix previous change. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index 7ae39851ef5..bf3eebb5247 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2022,7 +2022,7 @@ Both characters must have the same length of multi-byte form.") if (maybe_byte_combining && (CHAR_HEAD_P (*tostr) ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1)) - : (pos_byte > BEGV_BYTE + : (pos_byte > BEG_BYTE && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1))))) { Lisp_Object tem, string; @@ -2121,7 +2121,7 @@ It returns the number of characters changed.") if (!ASCII_BYTE_P (nc) && (CHAR_HEAD_P (nc) ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1)) - : (pos_byte > BEGV_BYTE + : (pos_byte > BEG_BYTE && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1))))) { Lisp_Object string; -- 2.39.2