Skip to content

Commit

Permalink
Tidy: Function declarations
Browse files Browse the repository at this point in the history
Using the FILEONLY argument of declare-function doesn't seem to be
enough to silence the check-declare warning, so maybe also using
"ext:" will do it.
  • Loading branch information
alphapapa committed Dec 13, 2020
1 parent ec2e624 commit 208e103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org-ql.el
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,8 @@ value of `org-ql-predicates')."

;; HACK: These functions *will* be defined at runtime, so we silence
;; compiler warnings about them:
(declare-function org-ql--normalize-query "org-ql" (query) t)
(declare-function org-ql--query-preamble "org-ql" (query) t)
(declare-function org-ql--normalize-query "ext:org-ql" (query) t)
(declare-function org-ql--query-preamble "ext:org-ql" (query) t)

(defvar org-ql-defpred-defer nil
"Defer expensive function redefinitions when defining predicates.
Expand Down

0 comments on commit 208e103

Please sign in to comment.