diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-completion.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 47ada77..9174701 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -6,7 +6,8 @@ :config (defun jao-imenu-hook () (cond ((derived-mode-p 'org-mode) (org-reveal t)) - (outline-minor-mode (outline-show-entry)))) + (outline-minor-mode (outline-show-entry)) + ((derived-mode-p 'outline-mode) (outline-show-entry)))) (add-hook 'imenu-after-jump-hook #'jao-imenu-hook)) ;;; completion styles |