From 4d93682a9db192fc0e638666cb08cc341d634524 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 9 Jun 2016 14:16:53 -0700 Subject: [PATCH] flatten org-imenu --- dotfiles/emacs.d/README.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 3d17fd8d..74849736 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1003,6 +1003,8 @@ I use helm for almost all emacs completion '(:time "100d" :actions -email :period "5d" :audible nil)) (org-notify-start 10))) + (setq org-imenu-depth 10) + (add-hook 'org-mode-hook 'flatten-current-imenu-index-function) (use-package org-bullets :config (progn