1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

(define-ibuffer-filter filename): When the major mode is `vc-dir-mode'

use the buffer's default directory as filename.
This commit is contained in:
John Paul Wallington 2008-05-01 00:08:38 +00:00
parent b4c5fc9ff1
commit e9e198332b
2 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,9 @@
* ibuffer.el (define-ibuffer-column filename): When the major mode
is `vc-dir-mode' show the buffer's default directory.
* ibuf-ext.el (define-ibuffer-filter filename): Likewise when the
major mode is `vc-dir-mode' use the buffer's default directory.
2008-04-30 Sam Steingold <sds@gnu.org>
* vc.el (vc-dir-delete-file): Add.

View File

@ -1039,8 +1039,10 @@ currently used by buffers."
dired-directory
(car dired-directory))))
(and dired-dir
(expand-file-name dired-dir))))))
(string-match qualifier it)))
(expand-file-name dired-dir))))
(and (eq major-mode 'vc-dir-mode)
(bound-and-true-p default-directory))))
(string-match qualifier it)))
;;;###autoload (autoload 'ibuffer-filter-by-size-gt "ibuf-ext")
(define-ibuffer-filter size-gt