has no file name. From Sean O'Rourke <sorourke@cs.ucsd.edu>.
+2004-09-14 Sean O'Rourke <sorourke@cs.ucsd.edu>
+
+ * ibuf-ext.el (define-ibuffer-filter filename): If buffer has
+ no file name consider `dired-directory'.
+
2004-09-14 Kim F. Storm <storm@cua.dk>
* faces.el (cursor): Add face-no-inherit property. Doc fix.
"Toggle current view to buffers with filename matching QUALIFIER."
(:description "filename"
:reader (read-from-minibuffer "Filter by filename (regexp): "))
- (ibuffer-awhen (buffer-file-name buf)
+ (ibuffer-awhen (with-current-buffer buf
+ (or buffer-file-name
+ (and (boundp 'dired-directory)
+ dired-directory)))
(string-match qualifier it)))
;;;###autoload (autoload 'ibuffer-filter-by-size-gt "ibuf-ext.el")