branch: elpa/sweeprolog commit 49214a669bbd4cb8504314eb0a70d1793a67bb9d Author: Eshel Yaron <m...@eshelyaron.com> Commit: Eshel Yaron <m...@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 "( "))