Commit 2a07afc5 authored by John Wiegley's avatar John Wiegley
Browse files

Fixed duplicate names appearing in IDO buffer list (using virtuals)

* 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.
parent f9a27d86
2010-04-06 John Wiegley <jwiegley@gmail.com>
* 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 <jwiegley@gmail.com>
* ido.el (ido-use-virtual-buffers, ido-virtual): Moved a ChangeLog
......
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment