From 7713f379eb80884f102bb991dbd625834a766234 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 27 Mar 2022 11:58:52 +0200 Subject: [PATCH] Simplify use-package declaration for org-ql-search We want `org-ql-search`, but need to install `org-ql`, so it's best to simply state this in the `:ensure` declaration. The `:commands` specification might be redundant, as `org-ql` comes with an autoload file. But let's keep it there for clarify purposes. --- init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index e16ba4d..e879ace 100644 --- a/init.el +++ b/init.el @@ -945,12 +945,11 @@ :init (setq org-download-method 'attach)) ;; Extended query language and dynamic blocks -(use-package org-ql - :ensure t +(use-package org-ql-search + :ensure org-ql :commands (org-ql-view org-ql-search - org-dblock-write:org-ql) - :config (require 'org-ql-search)) + org-dblock-write:org-ql)) (use-package ol :init (setq org-link-keep-stored-after-insertion nil)