From 6521d4ac9e6d45883d0e458b051b9bb1f43896a4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 21 Dec 2018 14:10:55 -0800 Subject: Disable org-bullets on Windows --- emacs/.emacs.d/init/oni-org-init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emacs') 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 -- cgit v1.2.3-54-g00ecf