aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-12-21 14:10:55 -0800
committerGravatar Tom Willemse2018-12-21 14:10:55 -0800
commit6521d4ac9e6d45883d0e458b051b9bb1f43896a4 (patch)
treec07bafc8fd38df3955e96171204d9ceee6f50a26
parent87146c73cea516c78aadc537d513cd96db270704 (diff)
downloadnew-dotfiles-6521d4ac9e6d45883d0e458b051b9bb1f43896a4.tar.gz
new-dotfiles-6521d4ac9e6d45883d0e458b051b9bb1f43896a4.zip
Disable org-bullets on Windows
-rw-r--r--emacs/.emacs.d/init/oni-org-init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/oni-org-init.el b/emacs/.emacs.d/init/oni-org-init.el
index 7b94881..e586bdb 100644
--- a/emacs/.emacs.d/init/oni-org-init.el
+++ b/emacs/.emacs.d/init/oni-org-init.el
@@ -25,7 +25,6 @@
;;; Code:
(require 'org)
-(require 'org-bullets)
(require 'org-capture)
(require 'org-habit)
@@ -122,8 +121,11 @@ ones that have a predecessor."
(add-to-list 'org-modules 'org-habit)
(add-hook 'org-mode-hook 'auto-fill-mode)
-(add-hook 'org-mode-hook 'org-bullets-mode)
(add-hook 'org-mode-hook #'oni-org-init-setup-prettify-symbols-mode)
+(unless (eq system-type 'windows-nt)
+ (require 'org-bullets)
+ (add-hook 'org-mode-hook 'org-bullets-mode))
+
(provide 'oni-org-init)
;;; oni-org-init.el ends here