From 39c7eb8a6c37fa587b1ad72b79298109647246ef Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Sat, 14 May 2005 12:56:18 +0000 Subject: [PATCH] (define-ibuffer-filter filename): If `dired-directory' is a list, use its car. --- lisp/ChangeLog | 10 ++++++++++ lisp/ibuf-ext.el | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 12c1da63322..d27b098c0ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,13 @@ +2005-05-14 John Paul Wallington + + * ibuf-ext.el (define-ibuffer-filter filename): + If `dired-directory' is a list, use its car. + +2005-05-14 Daniel Brockman (tiny change) + + * ibuffer.el (define-ibuffer-column filename): + If `dired-directory' is a list, use its car. + 2005-05-14 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): New function. diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index e2e5d251371..87d9eb707eb 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -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))) -- 2.39.2