From 6d5ce97dc7725bf6602a29d5f64b3b1ff06c3df7 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Tue, 10 Nov 2020 04:14:01 -0600 Subject: [PATCH] Fix: Byte-compile warnings --- org-ql-view.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org-ql-view.el b/org-ql-view.el index 676b6c0..b0f47a3 100644 --- a/org-ql-view.el +++ b/org-ql-view.el @@ -398,6 +398,8 @@ update search arguments." insert)) (current-buffer))) +(defvar bookmark-make-record-function) + (cl-defun org-ql-view--display (&key (buffer org-ql-view-buffer) header string) "Display STRING in `org-ql-view' BUFFER. @@ -521,8 +523,7 @@ dates in the past, and negative for dates in the future." ;; Support for Emacs bookmarks. -(eval-when-compile - (require 'bookmark)) +(require 'bookmark) (defun org-ql-view--bookmark-make-record () "Return a bookmark record for the current Org QL View buffer."