Skip to content

Commit

Permalink
org layer: explicitly set toc-org-max-depth to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Aug 1, 2015
1 parent e97c85e commit 0e547c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/org/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ Will work on both org-mode and any mode that accepts plain html."
(defun org/init-toc-org ()
(use-package toc-org
:init
(add-hook 'org-mode-hook 'toc-org-enable)))
(progn
(setq toc-org-max-depth 10)
(add-hook 'org-mode-hook 'toc-org-enable))))

(defun org/init-htmlize ()
(use-package htmlize
Expand Down

0 comments on commit 0e547c4

Please sign in to comment.