[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/focus 9dd85fc474: Fix compiler warning introduced at 2086f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/focus 9dd85fc474: Fix compiler warning introduced at 2086fee |
Date: |
Sat, 10 Sep 2022 09:58:28 -0400 (EDT) |
branch: elpa/focus
commit 9dd85fc474bbc1ebf22c287752c960394fcd465a
Author: larstvei <larstvei@ifi.uio.no>
Commit: larstvei <larstvei@ifi.uio.no>
Fix compiler warning introduced at 2086fee
---
focus.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/focus.el b/focus.el
index 0ff2bb2a87..6c6e126942 100644
--- a/focus.el
+++ b/focus.el
@@ -105,9 +105,9 @@ The timer calls `focus-read-only-hide-cursor' after
"Return the current bounds, based on `focus-get-thing'."
(let ((thing (focus-get-thing)))
(cond ((eq thing 'org-element)
- (let* ((elem (org-element-at-point))
- (beg (org-element-property :begin (org-element-at-point)))
- (end (org-element-property :end (org-element-at-point))))
+ (let* ((elem (org-element-at-point))
+ (beg (org-element-property :begin elem))
+ (end (org-element-property :end elem)))
(cons beg end)))
(t (bounds-of-thing-at-point (focus-get-thing))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/focus 9dd85fc474: Fix compiler warning introduced at 2086fee,
ELPA Syncer <=