]> git.eshelyaron.com Git - emacs.git/commitdiff
(define-ibuffer-filter filename): If `dired-directory' is a list, use its car.
authorJohn Paul Wallington <jpw@pobox.com>
Sat, 14 May 2005 12:56:18 +0000 (12:56 +0000)
committerJohn Paul Wallington <jpw@pobox.com>
Sat, 14 May 2005 12:56:18 +0000 (12:56 +0000)
lisp/ChangeLog
lisp/ibuf-ext.el

index 12c1da63322e2cc8bdf5326ec7c51e8b5c117645..d27b098c0ed1111e4f9af3f77dd14d0db5a8edd5 100644 (file)
@@ -1,3 +1,13 @@
+2005-05-14  John Paul Wallington  <jpw@pobox.com>
+
+       * ibuf-ext.el (define-ibuffer-filter filename): 
+       If `dired-directory' is a list, use its car.
+
+2005-05-14  Daniel Brockman  <daniel@brockman.se>  (tiny change)
+
+       * ibuffer.el (define-ibuffer-column filename):
+       If `dired-directory' is a list, use its car.
+
 2005-05-14  Richard M. Stallman  <rms@gnu.org>
 
        * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): New function.
index e2e5d25137194c9a575f8ff78f37db339ba4bbb5..87d9eb707eb6df49f0f59ee83be0a4c20759d3bc 100644 (file)
@@ -1024,7 +1024,9 @@ currently used by buffers."
   (ibuffer-awhen (with-current-buffer buf
                   (or buffer-file-name
                       (and (boundp 'dired-directory)
-                           dired-directory
+                           (if (stringp dired-directory)
+                               dired-directory
+                             (car dired-directory))
                            (expand-file-name dired-directory))))
     (string-match qualifier it)))