Fix: (org-ql-predicates) Use eval-and-compile
This is technically correct, even though package.el might obscure the problem by causing the file to be loaded before it is compiled.
This commit is contained in:
parent
ab5e9aa911
commit
81673fc7b5
1 changed files with 5 additions and 4 deletions
|
|
@ -123,10 +123,11 @@ tick, and another hash table keyed on buffer position, whose
|
|||
values are alists in which the key is a function and the value is
|
||||
the value returned by it at that node.")
|
||||
|
||||
(defvar org-ql-predicates
|
||||
(list (list :name 'org-back-to-heading :fn (symbol-function 'org-back-to-heading)))
|
||||
"Plist of predicates, their corresponding functions, and their docstrings.
|
||||
This list should not contain any duplicates.")
|
||||
(eval-and-compile
|
||||
(defvar org-ql-predicates
|
||||
(list (list :name 'org-back-to-heading :fn (symbol-function 'org-back-to-heading)))
|
||||
"Plist of predicates, their corresponding functions, and their docstrings.
|
||||
This list should not contain any duplicates."))
|
||||
|
||||
;;;; Customization
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue