changeset 97397:4c5ef9f11950

(ibuffer-define-filter filename): Use plain old `buffer-file-name' instead of `ibuffer-buffer-file-name'.
author John Paul Wallington <jpw@pobox.com>
date Sun, 10 Aug 2008 03:43:47 +0000
parents d122b5da1bae
children fe058c1304c6
files lisp/ibuf-ext.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuf-ext.el	Sun Aug 10 03:42:43 2008 +0000
+++ b/lisp/ibuf-ext.el	Sun Aug 10 03:43:47 2008 +0000
@@ -1041,9 +1041,8 @@
   "Toggle current view to buffers with filename matching QUALIFIER."
   (:description "filename"
    :reader (read-from-minibuffer "Filter by filename (regexp): "))
-  (ibuffer-awhen (with-current-buffer buf
-		   (ibuffer-buffer-file-name))
-		 (string-match qualifier it)))
+  (ibuffer-awhen (buffer-local-value 'buffer-file-name buf)
+    (string-match qualifier it)))
 
 ;;;###autoload (autoload 'ibuffer-filter-by-size-gt  "ibuf-ext")
 (define-ibuffer-filter size-gt