diff options
author | John Wiegley <jwiegley@gmail.com> | 2010-04-06 03:02:57 -0400 |
---|---|---|
committer | John Wiegley <jwiegley@gmail.com> | 2010-04-06 03:02:57 -0400 |
commit | 2a07afc5fe9acb37ed00a65463357b61da8c5cb1 (patch) | |
tree | 790f6db548ddf0ea0f66a3cda44be68cadf2d74e /lisp/ido.el | |
parent | f9a27d86155b3f436daa755e2b9d89c71afa8e8d (diff) | |
download | emacs-2a07afc5fe9acb37ed00a65463357b61da8c5cb1.tar.gz |
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.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 53b18374d1e..8d43dec1f65 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)))) |