From 81f370da09dcef4acb3a411331b2401ea614cbde Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Sun, 10 Aug 2008 03:43:47 +0000 Subject: [PATCH] (ibuffer-define-filter filename): Use plain old `buffer-file-name' instead of `ibuffer-buffer-file-name'. --- lisp/ibuf-ext.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 2046c9a2b75..485a7351ff9 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -1041,9 +1041,8 @@ currently used by buffers." "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 -- 2.39.2