aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-10-31 05:12:07 +0000
committerKenichi Handa1998-10-31 05:12:07 +0000
commit48839d2ed7f4752ceb3efa350bd90a532c073421 (patch)
tree81b800467735b10d07809ba17ffdc3e2fc92d4a6
parent922dfd866fe0dd058ced1e5203255d0cfc48723f (diff)
downloademacs-48839d2ed7f4752ceb3efa350bd90a532c073421.tar.gz
emacs-48839d2ed7f4752ceb3efa350bd90a532c073421.zip
(Fsubst_char_in_region): Fix previous change.
(Ftranslate_region): Fix previous change.
-rw-r--r--src/editfns.c4
1 files 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.")
2022 if (maybe_byte_combining 2022 if (maybe_byte_combining
2023 && (CHAR_HEAD_P (*tostr) 2023 && (CHAR_HEAD_P (*tostr)
2024 ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1)) 2024 ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1))
2025 : (pos_byte > BEGV_BYTE 2025 : (pos_byte > BEG_BYTE
2026 && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1))))) 2026 && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1)))))
2027 { 2027 {
2028 Lisp_Object tem, string; 2028 Lisp_Object tem, string;
@@ -2121,7 +2121,7 @@ It returns the number of characters changed.")
2121 if (!ASCII_BYTE_P (nc) 2121 if (!ASCII_BYTE_P (nc)
2122 && (CHAR_HEAD_P (nc) 2122 && (CHAR_HEAD_P (nc)
2123 ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1)) 2123 ? ! CHAR_HEAD_P (FETCH_BYTE (pos_byte + 1))
2124 : (pos_byte > BEGV_BYTE 2124 : (pos_byte > BEG_BYTE
2125 && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1))))) 2125 && ! ASCII_BYTE_P (FETCH_BYTE (pos_byte - 1)))))
2126 { 2126 {
2127 Lisp_Object string; 2127 Lisp_Object string;