Commit 9d1af5be authored by Richard M. Stallman's avatar Richard M. Stallman

(Fchar_after): Fix previous change.

parent b9013200
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment