[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hl-block-mode aacaca774d: Cleanup: use pos-bol/eol as resp
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hl-block-mode aacaca774d: Cleanup: use pos-bol/eol as respecting fields isn't needed |
Date: |
Fri, 13 Jan 2023 04:59:22 -0500 (EST) |
branch: elpa/hl-block-mode
commit aacaca774d5bcb277488a0164ff56f12df54c4d9
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/hl-block-mode aacaca774d: Cleanup: use pos-bol/eol as respecting fields isn't needed,
ELPA Syncer <=