mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(define-ibuffer-filter filename): Consider `dired-directory' if buffer
has no file name. From Sean O'Rourke <sorourke@cs.ucsd.edu>.
This commit is contained in:
parent
46b00436e7
commit
a386a960b2
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1015,7 +1015,10 @@ 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 (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")
|
||||
|
Loading…
Reference in New Issue
Block a user