summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.d/main.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.d/main.org b/init.d/main.org
index a3efc99..2a16320 100644
--- a/init.d/main.org
+++ b/init.d/main.org
@@ -1973,7 +1973,6 @@ possibility to disable it on a per-file basis with
"Enable org-bullets if `alex/org-startup-with-bullets' is not-nil."
(when alex/org-startup-with-bullets
(org-bullets-mode 1)))
- (add-hook 'org-mode-hook 'alex/org-bullets-setup)
(setq org-startup-options
(append org-startup-options
@@ -1981,6 +1980,9 @@ possibility to disable it on a per-file basis with
("nobullets" org-startup-with-bullets nil))))
(use-package org-bullets
+ :if-installed t
+ :init
+ (add-hook 'org-mode-hook 'alex/org-bullets-setup)
:commands (org-bullets-mode))
#+end_src