get rid of automatic sidebar for now
This commit is contained in:
parent
c099b63414
commit
f2ed02e593
1 changed files with 4 additions and 3 deletions
|
@ -108,11 +108,12 @@
|
|||
|
||||
;; Side tree
|
||||
(defun conditional-side-tree ()
|
||||
(when (not (string-match-p "\\*capture\\*\\|CAPTURE-\\|scratch\\*\\|\\[Preview\\]" (buffer-name)))
|
||||
(org-side-tree)))
|
||||
(save-buffer (when (not (string-match-p "\\*capture\\*\\|CAPTURE-\\|scratch\\*\\|\\[Preview\\]" (buffer-name)))
|
||||
(org-side-tree))))
|
||||
|
||||
(use-package org-side-tree
|
||||
:hook ((org-modern-mode . conditional-side-tree)))
|
||||
;;:hook ((org-modern-mode . conditional-side-tree)) for now, this is broken
|
||||
)
|
||||
|
||||
;; Advice to display org-side-tree where we want it
|
||||
(defun theurgy-org-side-tree ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue