mirror of
https://github.com/larstvei/Focus.git
synced 2024-11-26 03:28:32 +00:00
Fix compiler warning introduced at 2086fee
This commit is contained in:
parent
b30ead247d
commit
9dd85fc474
4
focus.el
4
focus.el
@ -106,8 +106,8 @@ The timer calls `focus-read-only-hide-cursor' after
|
||||
(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))))
|
||||
(beg (org-element-property :begin elem))
|
||||
(end (org-element-property :end elem)))
|
||||
(cons beg end)))
|
||||
(t (bounds-of-thing-at-point (focus-get-thing))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user