branch: externals/m-buffer
commit c65b7b20c0771977f5a4e94044f19eac5935612a
Author: Phillip Lord <[email protected]>
Commit: Phillip Lord <[email protected]>
match-data-1 was failing on final match due to off-by-one error.
---
m-buffer.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m-buffer.el b/m-buffer.el
index c81a5bfb10..0316366f0c 100644
--- a/m-buffer.el
+++ b/m-buffer.el
@@ -107,7 +107,7 @@ WIDEN -- call widen first."
post-match-return
;; we need to check we are less than the end-bound
;; or re-search-forward will break
- (< (point) end-bound)
+ (<= (point) end-bound)
(re-search-forward
regexp end-bound
t))