diff options
author | John Paul Wallington <jpw@pobox.com> | 2008-05-13 21:09:20 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2008-05-13 21:09:20 +0000 |
commit | 1eb4b4b95f37a1a7b9aa751496625a91d2348ca9 (patch) | |
tree | 704f80d4e75bff226a83f926fc7c9ae2e0c82374 /lisp/ibuf-ext.el | |
parent | 92cb2eaf1cc0ad3389bef3c8761cd648f2e9e7a4 (diff) | |
download | emacs-1eb4b4b95f37a1a7b9aa751496625a91d2348ca9.tar.gz |
(define-ibuffer-filter filename): Use `ibuffer-buffer-file-name'.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r-- | lisp/ibuf-ext.el | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 6bdaed0a334..74850a6dca1 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -1030,16 +1030,7 @@ currently used by buffers." (:description "filename" :reader (read-from-minibuffer "Filter by filename (regexp): ")) (ibuffer-awhen (with-current-buffer buf - (or buffer-file-name - (and (boundp 'dired-directory) - (let ((dired-dir - (if (stringp dired-directory) - dired-directory - (car dired-directory)))) - (and dired-dir - (expand-file-name dired-dir)))) - (and (eq major-mode 'vc-dir-mode) - (bound-and-true-p default-directory)))) + (ibuffer-buffer-file-name)) (string-match qualifier it))) ;;;###autoload (autoload 'ibuffer-filter-by-size-gt "ibuf-ext") |