Browse Source

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.
master
Daniel Borchmann 3 months ago
parent
commit
7713f379eb
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 7
      init.el

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

Loading…
Cancel
Save