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

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

[nongnu] elpa/sweeprolog 1744b29cc2 092/166: FIXED: off by one in sweep-


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 1744b29cc2 092/166: FIXED: off by one in sweep-colourise-some-terms
Date: Fri, 30 Sep 2022 04:59:29 -0400 (EDT)

branch: elpa/sweeprolog
commit 1744b29cc21694fde4e732ef9a3a010bdd4f47e0
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    FIXED: off by one in sweep-colourise-some-terms
---
 sweep.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sweep.el b/sweep.el
index c461402eae..c10870f541 100644
--- a/sweep.el
+++ b/sweep.el
@@ -831,7 +831,7 @@ module name, F is a functor name and N is its arity."
   (let* ((beg (save-mark-and-excursion
                 (goto-char beg0)
                 (sweep-beginning-of-top-term)
-                (point)))
+                (max (1- (point)) (point-min))))
          (end (save-mark-and-excursion
                 (goto-char end0)
                 (sweep-end-of-top-term)



reply via email to

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