From 5644022e06e5b5a5f3333f52826d938fa405971b Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 14 Sep 2014 09:21:15 +0300 Subject: [PATCH] Clean up a bit prelude-ido-goto-symbol --- core/prelude-core.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index ea65f51..37c7caa 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -490,14 +490,7 @@ With a prefix argument ARG, find the `user-init-file' instead." (require 'imenu nil t)) (cond ((not symbol-list) - (let ((ido-mode ido-mode) - (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)) + (let (name-and-pos symbol-names position) (while (progn (imenu--cleanup) (setq imenu--index-alist nil)