[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10994: 23.3; ido-mode: ido-next-match / ido-prev-match work wrong wi
From: |
Leo Liu |
Subject: |
bug#10994: 23.3; ido-mode: ido-next-match / ido-prev-match work wrong with same elements |
Date: |
Tue, 19 Mar 2013 23:01:06 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) |
On 2012-03-11 20:33 +0800, Anonymous wrote:
> (require 'ido)
> (ido-completing-read "dat is whrong -> " '("2" "3" "3" "3" "4" "5"))
Would you be able to give the following patch a though test? Thanks in
advance.
diff --git a/lisp/ido.el b/lisp/ido.el
index 589f4417..6c747124 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3156,7 +3156,7 @@ (defun ido-chop (items elem)
(sofar nil))
(while (not ret)
(setq next (car items))
- (if (equal next elem)
+ (if (eq next elem)
(setq ret (append items (nreverse sofar)))
;; else
(progn
- bug#10994: 23.3; ido-mode: ido-next-match / ido-prev-match work wrong with same elements,
Leo Liu <=