Update org-mode hook
This commit is contained in:
parent
5d9c9433a0
commit
5d94f8c19a
1 changed files with 5 additions and 1 deletions
6
init.el
6
init.el
|
@ -171,7 +171,11 @@ There are two things you can do about this warning:
|
|||
(add-hook 'diary-display-hook 'fancy-diary-display)
|
||||
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
|
||||
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
|
||||
(add-hook 'org-mode-hook 'olivetti-mode)
|
||||
(defun me/org-mode ()
|
||||
"My custom configuration for 'org-mode'."
|
||||
(olivetti-mode)
|
||||
(olivetti-set-width 82))
|
||||
(add-hook 'org-mode-hook 'me/org-mode)
|
||||
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
||||
(add-hook 'rst-mode-hook 'turn-on-orgstruct)
|
||||
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
||||
|
|
Loading…
Add table
Reference in a new issue