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:
grtcdr 2024-10-29 16:06:52 +01:00
parent 17c471544f
commit 29b412b209
No known key found for this signature in database
GPG Key ID: ACBF041BDFD2B01D

View File

@ -33,6 +33,9 @@
(require 'cl-lib) (require 'cl-lib)
(require 'thingatpt) (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 () (defgroup focus ()
"Dim the font color of text in surrounding sections." "Dim the font color of text in surrounding sections."
:group 'font-lock :group 'font-lock