From 401552a4658b765410e2aceb3ad867e037934a53 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 18 Jul 2022 02:40:00 +0100 Subject: nits --- custom/jao-custom-completion.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom') 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 -- cgit v1.2.3