From 60b457eea4b5d72a4b0b8e7df7c617c1b21ae99f Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Tue, 10 Nov 2020 19:43:48 -0600 Subject: [PATCH] Fix: (org-ql-view.el) Compiler warnings --- org-ql-view.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org-ql-view.el b/org-ql-view.el index e83cbc6..641221e 100644 --- a/org-ql-view.el +++ b/org-ql-view.el @@ -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 ;; loading them until they're needed. +(eval-when-compile + (require 'url-parse) + (require 'url-util)) + (defun org-ql-view--link-open (path) "Open Org QL query for current buffer at PATH. PATH should be the part of an \"org-ql-search:\" URL after the