From 49214a669bbd4cb8504314eb0a70d1793a67bb9d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 11 Sep 2022 23:53:01 +0300 Subject: [PATCH] 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 490dd6e..66dbb5a 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 "( ")) -- 2.39.2