mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-15 11:21:19 -07:00
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.
This commit is contained in:
parent
f9a27d8615
commit
2a07afc5fe
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue