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.
This commit is contained in:
Daniel - 2022-03-27 11:58:52 +02:00
parent 20597a12e3
commit 7713f379eb
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 3 additions and 4 deletions

View File

@ -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)