aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/ido.el1
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5cd9e08d5e..9d2142fd5f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
2010-04-06 John Wiegley <[email protected]>
+ * ido.el (ido-add-virtual-buffers-to-list): Fixed duplicated names
+ appearing in buffer list (if a live buffer name matched a recentf
+ file basename). Should use uniqify to offer a real solution.
+
+2010-04-06 John Wiegley <[email protected]>
+
* ido.el (ido-use-virtual-buffers, ido-virtual): Moved a ChangeLog
comment to code, and added a :version tag.
(ido-virtual-buffers): Moved defvar to fix byte-compiler warning.
diff --git a/lisp/ido.el b/lisp/ido.el
index 53b18374d1..8d43dec1f6 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -3408,6 +3408,7 @@ This is to make them appear as if they were \"virtual buffers\"."
(and (setq name (file-name-nondirectory head))
(null (get-file-buffer head))
(not (assoc name ido-virtual-buffers))
+ (not (member name ido-temp-list))
(not (ido-ignore-item-p name ido-ignore-buffers))
;;(file-exists-p head)
(push (cons name head) ido-virtual-buffers))))