Add flag to enable org-brain support making it optional

This commit is contained in:
Deepu Mohan Puthrote 2021-07-12 16:52:33 +01:00 committed by duianto
parent 47f3507260
commit eeb363f6e4
3 changed files with 7 additions and 3 deletions

View File

@ -445,8 +445,9 @@ the following snippet.
#+END_SRC
** Org-brain support
For Emacs 25 or later, support for [[https://kungsgeten.github.io/org-brain.html][org-brain]] is included. See the [[https://github.com/Kungsgeten/org-brain][org-brain
package documentation]] for more information.
For Emacs 25 or later, to install [[https://kungsgeten.github.io/org-brain.html][org-brain]] set the variable =org-enable-org-brain-support= to =t=.
See the [[https://github.com/Kungsgeten/org-brain][org-brain package documentation]] for more information.
** Org-roam support
To install org-roam support set the variable =org-enable-roam-support= to =t=.

View File

@ -119,3 +119,6 @@ If `semiauto', prompt to change entry state when the state of the subentries
imply it. This assumes next to nothing about your workflow states, but may
result in additional, possibly surprising, prompting of the user; and it has no
intelligence to attempt to determine the destination state.")
(defvar org-enable-org-brain-support nil
"If non-nil, enable org-brain")

View File

@ -41,7 +41,7 @@
:toggle org-enable-org-contacts-support)
org-contrib
(org-vcard :toggle org-enable-org-contacts-support)
org-brain
(org-brain :toggle org-enable-org-brain-support)
(org-expiry :location built-in)
; temporarily point org-journal to dalanicolai fork until dalanicolai's
; PR's https://github.com/bastibe/org-journal/pulls get merged