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.
This commit is contained in:
parent
1e116bb3a9
commit
cecaa6745f
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
|
||||
2010-04-27 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
|
||||
when method is 'kill.
|
||||
|
||||
2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
|
||||
|
||||
* ispell.el (ispell-init-process): Fix personal dictionary condition
|
||||
in default directory check.
|
||||
|
|
|
@ -2183,7 +2183,9 @@ If cursor is not at the end of the user input, move to end of input."
|
|||
(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))
|
||||
|
|
Loading…
Add table
Reference in a new issue