From 9dd85fc474bbc1ebf22c287752c960394fcd465a Mon Sep 17 00:00:00 2001 From: larstvei Date: Sat, 10 Sep 2022 15:00:20 +0200 Subject: [PATCH] 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 0ff2bb2..6c6e126 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))))))