summaryrefslogtreecommitdiff
path: root/lisp/km-outline.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-10-12 21:48:59 -0400
committerKyle Meyer <kyle@kyleam.com>2020-12-12 02:07:58 -0500
commit149da2b62045fde28cc712d11d04f611b0163896 (patch)
treee2793870b700a6fcfd00abe4df210372cfff32dd /lisp/km-outline.el
parent65fb8ac42e98e8ddbc974ef5426362205daa899f (diff)
downloademacs.d-149da2b62045fde28cc712d11d04f611b0163896.tar.gz
Switch to ivy
I've tried it for a few months and quite happy with it.
Diffstat (limited to 'lisp/km-outline.el')
-rw-r--r--lisp/km-outline.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/km-outline.el b/lisp/km-outline.el
index 3c9f290..b5b7b2a 100644
--- a/lisp/km-outline.el
+++ b/lisp/km-outline.el
@@ -63,16 +63,12 @@ text is taken as everything on the line after the
(push (cons head-level head) path-alist)))
(nreverse index)))
-(declare-function helm-imenu "helm-imenu")
;;;###autoload
(defun km/outline-jump-to-heading ()
"Jump to heading specified by `outline-regexp'."
(interactive)
- (let ((imenu-create-index-function #'km/outline-imenu-create-index)
- helm-cached-imenu-tick
- helm-cached-imenu-alist
- helm-cached-imenu-candidates)
- (call-interactively #'helm-imenu)))
+ (let ((imenu-create-index-function #'km/outline-imenu-create-index))
+ (call-interactively #'imenu)))
(provide 'km-outline)
;;; km-outline.el ends here