diff options
author | John Paul Wallington <jpw@pobox.com> | 2008-08-10 03:43:47 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2008-08-10 03:43:47 +0000 |
commit | 81f370da09dcef4acb3a411331b2401ea614cbde (patch) | |
tree | 81a82d8946513b13b9d9f76bae74cd22c365b56a /lisp/ibuf-ext.el | |
parent | 9d458edce92bab856eab51af8a8499e1f3f86c3f (diff) | |
download | emacs-81f370da09dcef4acb3a411331b2401ea614cbde.tar.gz |
(ibuffer-define-filter filename): Use plain old `buffer-file-name'
instead of `ibuffer-buffer-file-name'.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r-- | lisp/ibuf-ext.el | 5 |
1 files 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 |