mirror of
https://github.com/larstvei/Focus.git
synced 2024-11-26 03:28:32 +00:00
Fix compilation warnings
Compiling focus results in compilation warnings relating to two functions from the `org-element' library. We can tell the byte compiler where those functions are located without explicitly requiring the libraries.
This commit is contained in:
parent
17c471544f
commit
29b412b209
3
focus.el
3
focus.el
@ -33,6 +33,9 @@
|
||||
(require 'cl-lib)
|
||||
(require 'thingatpt)
|
||||
|
||||
(declare-function org-element-property "org-element" (property element))
|
||||
(declare-function org-element-at-point "org-element" (&optional pom cached-only))
|
||||
|
||||
(defgroup focus ()
|
||||
"Dim the font color of text in surrounding sections."
|
||||
:group 'font-lock
|
||||
|
Loading…
Reference in New Issue
Block a user