Move org-bullets configuraton to use-package
This commit is contained in:
parent
677e583278
commit
a349857359
11
init.el
11
init.el
@ -361,6 +361,12 @@
|
|||||||
(convert-standard-filename
|
(convert-standard-filename
|
||||||
"/orgmode/from-mobile.org"))))
|
"/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 my own functions
|
||||||
(load "gnu-c-header.el")
|
(load "gnu-c-header.el")
|
||||||
(load "toggle-window-split.el")
|
(load "toggle-window-split.el")
|
||||||
@ -457,11 +463,6 @@
|
|||||||
(put 'downcase-region 'disabled nil)
|
(put 'downcase-region 'disabled nil)
|
||||||
(put 'upcase-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
|
;; text-mode settings
|
||||||
(add-hook 'text-mode-hook (lambda () (visual-line-mode t)))
|
(add-hook 'text-mode-hook (lambda () (visual-line-mode t)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user