From 9d1af5be4a0b23f0923f39fe8ab0a4c07aaa77fc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 2 Jan 1998 21:06:08 +0000 Subject: [PATCH] (Fchar_after): Fix previous change. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index dd5eb2197d1..e4bf6a9099c 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -599,7 +599,7 @@ If `enable-multibyte-characters' is nil or POS is not at character boundary,\n\ pos_byte = CHAR_TO_BYTE (XINT (pos)); } - if (n < BEGV_BYTE || n >= ZV_BYTE) + if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE) return Qnil; return make_number (FETCH_CHAR (pos_byte)); -- 2.39.2