emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/m-buffer c65b7b20c0 014/115: match-data-1 was failing o


From: ELPA Syncer
Subject: [elpa] externals/m-buffer c65b7b20c0 014/115: match-data-1 was failing on final match due to off-by-one error.
Date: Tue, 19 Jul 2022 15:58:45 -0400 (EDT)

branch: externals/m-buffer
commit c65b7b20c0771977f5a4e94044f19eac5935612a
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]