/* I don't know what things this breaks, and there is no entry in the
ChangeLog, so I reinstated the end of buffer limit check. This code
breaks without it. (bfox) */
-#if 0 /* This breaks some things... jla. */
+/* #if 0 /* This breaks some things... jla. */
+#if 1
if (XFASTINT (lim) > ZV)
XFASTINT (lim) = ZV;
#endif
+#if 0
if (XFASTINT (lim) < BEGV)
XFASTINT (lim) = BEGV;
-/* #endif */
+#endif
p = XSTRING (string)->data;
pend = p + XSTRING (string)->size;