Clean up a bit prelude-ido-goto-symbol
This commit is contained in:
parent
00d4587105
commit
5644022e06
1 changed files with 1 additions and 8 deletions
|
@ -490,14 +490,7 @@ With a prefix argument ARG, find the `user-init-file' instead."
|
||||||
(require 'imenu nil t))
|
(require 'imenu nil t))
|
||||||
(cond
|
(cond
|
||||||
((not symbol-list)
|
((not symbol-list)
|
||||||
(let ((ido-mode ido-mode)
|
(let (name-and-pos symbol-names position)
|
||||||
(ido-enable-flex-matching
|
|
||||||
(if (boundp 'ido-enable-flex-matching)
|
|
||||||
ido-enable-flex-matching t))
|
|
||||||
name-and-pos symbol-names position)
|
|
||||||
(unless ido-mode
|
|
||||||
(ido-mode 1)
|
|
||||||
(setq ido-enable-flex-matching t))
|
|
||||||
(while (progn
|
(while (progn
|
||||||
(imenu--cleanup)
|
(imenu--cleanup)
|
||||||
(setq imenu--index-alist nil)
|
(setq imenu--index-alist nil)
|
||||||
|
|
Loading…
Reference in a new issue