From 4443580000f39df2960675639bf6e32661a41113 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sun, 19 Jul 2020 01:26:09 +0200 Subject: [PATCH] Add toc-org hook --- .emacs.d/config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 3a76975..02b573e 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -838,6 +838,9 @@ Evil command aliases. ;; Highlight parenthesis (add-hook 'prog-mode-hook 'show-paren-mode) + ;; Enable 'table of contents' in org + (add-hook 'org-mode-hook 'toc-org-mode) + ;; C++ // style comments in c-mode (add-hook 'c-mode-hook (lambda () (c-toggle-comment-style 0)))