branch: elpa/focus commit 9dd85fc474bbc1ebf22c287752c960394fcd465a Author: larstvei <larst...@ifi.uio.no> Commit: larstvei <larst...@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))))))