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

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

[nongnu] elpa/sweeprolog 49214a669b 109/166: PORT: don't depend on pos-b


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 49214a669b 109/166: PORT: don't depend on pos-bol added in Emacs 29
Date: Fri, 30 Sep 2022 04:59:30 -0400 (EDT)

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

    PORT: don't depend on pos-bol added in Emacs 29
---
 sweep.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sweep.el b/sweep.el
index 490dd6e35e..66dbb5a386 100644
--- a/sweep.el
+++ b/sweep.el
@@ -1114,7 +1114,7 @@ Interactively, a prefix arg means to prompt for BUFFER."
   (save-excursion
     (end-of-line)
     (when-let ((start-of-ite (nth 1 (syntax-ppss))))
-      (when (<= (pos-bol) start-of-ite)
+      (when (<= (line-beginning-position) start-of-ite)
         (goto-char start-of-ite)
         (let ((col (current-column)))
           (when (looking-at-p (rx "(   "))



reply via email to

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