changeset 57128:910cd512d4a0

(define-ibuffer-filter filename): Expand dired-directory since buffer-file-name is absolute. From Romain Francoise <romain@orebokech.com>.
author John Paul Wallington <jpw@pobox.com>
date Sat, 18 Sep 2004 08:13:11 +0000
parents a4b2ce7d4d07
children b1ba5eae5a50
files lisp/ibuf-ext.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuf-ext.el	Fri Sep 17 21:26:20 2004 +0000
+++ b/lisp/ibuf-ext.el	Sat Sep 18 08:13:11 2004 +0000
@@ -1018,7 +1018,8 @@
   (ibuffer-awhen (with-current-buffer buf
 		   (or buffer-file-name
 		       (and (boundp 'dired-directory)
-			    dired-directory)))
+			    dired-directory
+			    (expand-file-name dired-directory))))
     (string-match qualifier it)))
 
 ;;;###autoload (autoload 'ibuffer-filter-by-size-gt  "ibuf-ext.el")