diff options
author | jao <jao@gnu.org> | 2022-07-18 02:40:00 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-07-18 02:40:12 +0100 |
commit | 401552a4658b765410e2aceb3ad867e037934a53 (patch) | |
tree | 6a8ea06ae539cf779d9fc6c368fa1385f6c76867 /custom | |
parent | 1fac3e95c3c7b83018130af8eaf0060f69961548 (diff) | |
download | elibs-401552a4658b765410e2aceb3ad867e037934a53.tar.gz elibs-401552a4658b765410e2aceb3ad867e037934a53.tar.bz2 |
nits
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 |