Move org-bullets configuraton to use-package

This commit is contained in:
Gergely Polonkai 2016-10-12 10:39:25 +02:00
parent 677e583278
commit a349857359

11
init.el
View File

@ -361,6 +361,12 @@
(convert-standard-filename
"/orgmode/from-mobile.org"))))
(use-package org-bullets
:init
(add-hook 'org-mode-hook
(lambda ()
(if (display-graphic-p) org-bullets-mode))))
;; Load my own functions
(load "gnu-c-header.el")
(load "toggle-window-split.el")
@ -457,11 +463,6 @@
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)
;; org-mode settings
(add-hook 'org-mode-hook
(lambda ()
(if (display-graphic-p) (org-bullets-mode t))))
;; text-mode settings
(add-hook 'text-mode-hook (lambda () (visual-line-mode t)))