Fix: (org-ql-view.el) Compiler warnings

This commit is contained in:
Adam Porter 2020-11-10 19:43:48 -06:00
parent 93f60ad478
commit 60b457eea4

View file

@ -597,6 +597,10 @@ dates in the past, and negative for dates in the future."
;; We require the URL libraries in the functions to hopefully avoid ;; We require the URL libraries in the functions to hopefully avoid
;; loading them until they're needed. ;; loading them until they're needed.
(eval-when-compile
(require 'url-parse)
(require 'url-util))
(defun org-ql-view--link-open (path) (defun org-ql-view--link-open (path)
"Open Org QL query for current buffer at PATH. "Open Org QL query for current buffer at PATH.
PATH should be the part of an \"org-ql-search:\" URL after the PATH should be the part of an \"org-ql-search:\" URL after the