Skip to content

Commit

Permalink
Make symbols come out in the right order
Browse files Browse the repository at this point in the history
  • Loading branch information
timcharper authored and defunkt committed Jul 26, 2010
1 parent 92e2201 commit 2a44b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textmate.el
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Symbols matching the text at point are put first in the completion list."
(setq symbol-names (cons symbol
(delete symbol symbol-names))))
matching-symbols)))))
(let* ((selected-symbol (ido-completing-read "Symbol? " symbol-names))
(let* ((selected-symbol (ido-completing-read "Symbol? " (reverse symbol-names)))
(position (cdr (assoc selected-symbol name-and-pos))))
(goto-char (if (overlayp position) (overlay-start position) position)))))

Expand Down

0 comments on commit 2a44b1d

Please sign in to comment.