[Fix #580] Preserve symbols order in prelude-ido-goto-symbol
This commit is contained in:
parent
5644022e06
commit
8f06d26de2
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ With a prefix argument ARG, find the `user-init-file' instead."
|
||||||
(setq imenu--index-alist nil)
|
(setq imenu--index-alist nil)
|
||||||
(prelude-ido-goto-symbol (imenu--make-index-alist))
|
(prelude-ido-goto-symbol (imenu--make-index-alist))
|
||||||
(setq selected-symbol
|
(setq selected-symbol
|
||||||
(ido-completing-read "Symbol? " symbol-names))
|
(ido-completing-read "Symbol? " (reverse symbol-names)))
|
||||||
(string= (car imenu--rescan-item) selected-symbol)))
|
(string= (car imenu--rescan-item) selected-symbol)))
|
||||||
(unless (and (boundp 'mark-active) mark-active)
|
(unless (and (boundp 'mark-active) mark-active)
|
||||||
(push-mark nil t nil))
|
(push-mark nil t nil))
|
||||||
|
|
Loading…
Reference in a new issue