branch: elpa/hl-block-mode commit aacaca774d5bcb277488a0164ff56f12df54c4d9 Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@gmail.com>
Cleanup: use pos-bol/eol as respecting fields isn't needed --- hl-block-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hl-block-mode.el b/hl-block-mode.el index a9dc9a46af..42db0887e8 100644 --- a/hl-block-mode.el +++ b/hl-block-mode.el @@ -131,8 +131,8 @@ PT is typically the `(point)'." "Move point to the first multi-line block. The point will only ever be moved backward." - (let ((line-min (line-beginning-position)) - (line-max (line-end-position)) + (let ((line-min (pos-bol)) + (line-max (pos-eol)) (beg (point)) (end (point))) (while (and beg (>= beg line-min) end (<= end line-max))