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:
parent
20597a12e3
commit
7713f379eb
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…
Reference in New Issue