[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99835: Fixed duplicate names appeari
From: |
jwiegley |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99835: Fixed duplicate names appearing in IDO buffer list (using virtuals) |
Date: |
Tue, 06 Apr 2010 03:02:57 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99835
committer: address@hidden
branch nick: emacs
timestamp: Tue 2010-04-06 03:02:57 -0400
message:
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.
modified:
lisp/ChangeLog
lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-04-06 03:38:56 +0000
+++ b/lisp/ChangeLog 2010-04-06 07:02:57 +0000
@@ -1,5 +1,11 @@
2010-04-06 John Wiegley <address@hidden>
+ * 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 <address@hidden>
+
* 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.
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el 2010-04-06 03:38:56 +0000
+++ b/lisp/ido.el 2010-04-06 07:02:57 +0000
@@ -3408,6 +3408,7 @@
(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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99835: Fixed duplicate names appearing in IDO buffer list (using virtuals),
jwiegley <=