From 8f06d26de28f09705a905361879e79f4d1356e73 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 14 Sep 2014 09:45:10 +0300 Subject: [PATCH] [Fix #580] Preserve symbols order in prelude-ido-goto-symbol --- core/prelude-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index 37c7caa..8475b69 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -496,7 +496,7 @@ With a prefix argument ARG, find the `user-init-file' instead." (setq imenu--index-alist nil) (prelude-ido-goto-symbol (imenu--make-index-alist)) (setq selected-symbol - (ido-completing-read "Symbol? " symbol-names)) + (ido-completing-read "Symbol? " (reverse symbol-names))) (string= (car imenu--rescan-item) selected-symbol))) (unless (and (boundp 'mark-active) mark-active) (push-mark nil t nil))