[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100058: When killing buffers with id
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100058: When killing buffers with ido, don't offer virtual buffers for completion. |
Date: |
Tue, 27 Apr 2010 13:47:19 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100058
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Tue 2010-04-27 13:47:19 +0200
message:
When killing buffers with ido, don't offer virtual buffers for completion.
* ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
when method is 'kill.
modified:
lisp/ChangeLog
lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-04-27 10:49:02 +0000
+++ b/lisp/ChangeLog 2010-04-27 11:47:19 +0000
@@ -1,4 +1,9 @@
-2010-04-27 Agustín Martín <address@hidden>
+2010-04-27 Juanma Barranquero <address@hidden>
+
+ * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
+ when method is 'kill.
+
+2010-04-27 Agustín Martín <address@hidden>
* ispell.el (ispell-init-process): Fix personal dictionary condition
in default directory check.
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el 2010-04-21 11:00:58 +0000
+++ b/lisp/ido.el 2010-04-27 11:47:19 +0000
@@ -2183,7 +2183,9 @@
(ido-current-directory nil)
(ido-directory-nonreadable nil)
(ido-directory-too-big nil)
- (ido-use-virtual-buffers ido-use-virtual-buffers)
+ (ido-use-virtual-buffers (if (eq method 'kill)
+ nil ;; Don't consider virtual
buffers for killing
+ ido-use-virtual-buffers))
(require-match (confirm-nonexistent-file-or-buffer))
(buf (ido-read-internal 'buffer (or prompt "Buffer: ")
'ido-buffer-history default
require-match initial))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100058: When killing buffers with ido, don't offer virtual buffers for completion.,
Juanma Barranquero <=