Disable org-bullets on Windows

This commit is contained in:
Tom Willemse 2018-12-21 14:10:55 -08:00
parent 87146c73ce
commit 6521d4ac9e

View file

@ -25,7 +25,6 @@
;;; Code: ;;; Code:
(require 'org) (require 'org)
(require 'org-bullets)
(require 'org-capture) (require 'org-capture)
(require 'org-habit) (require 'org-habit)
@ -122,8 +121,11 @@ ones that have a predecessor."
(add-to-list 'org-modules 'org-habit) (add-to-list 'org-modules 'org-habit)
(add-hook 'org-mode-hook 'auto-fill-mode) (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) (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) (provide 'oni-org-init)
;;; oni-org-init.el ends here ;;; oni-org-init.el ends here