Use org-startup-indented instead of a hook

Use the variable provided by org-mode to start in indented mode instead
of adding a hook.  This way, a user can override the setting of
org-startup-indented and not wonder why the heck org buffers are still
starting in org-indent-mode.
This commit is contained in:
Allen Li 2015-04-15 17:24:55 -04:00 committed by syl20bnr
parent 683b65cf1c
commit c4fc397fef
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ which require an initialization must be listed explicitly in the list.")
(eval-after-load 'org-indent
'(spacemacs|hide-lighter org-indent-mode))
(add-hook 'org-mode-hook 'org-indent-mode)
(setq org-startup-indented t)
(evil-leader/set-key-for-mode 'org-mode
"mc" 'org-capture