Permalink
Browse files

Make symbols come out in the right order

  • Loading branch information...
1 parent 92e2201 commit 2a44b1d3211f28b471c977377a2911218d330bd3 @timcharper timcharper committed with Dec 23, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 textmate.el
View
@@ -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)))))

0 comments on commit 2a44b1d

Please sign in to comment.