* dired.el (dired-mark-files-regexp): Include any subdirectory components.

Fixes: debbugs:10445
This commit is contained in:
Eduard Wiebe 2012-01-27 13:40:44 -08:00 committed by Glenn Morris
parent 1b5e5b0cb4
commit fc4f7a233e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-01-27 Eduard Wiebe <usenet@pusto.de>
* dired.el (dired-mark-files-regexp):
Include any subdirectory components. (Bug#10445)
2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
* pcmpl-unix.el (pcmpl-ssh-known-hosts):

View file

@ -3168,8 +3168,8 @@ object files--just `.o' will mark more than you might think."
(dired-mark-if
(and (not (looking-at dired-re-dot))
(not (eolp)) ; empty line
(let ((fn (dired-get-filename nil t)))
(and fn (string-match regexp (file-name-nondirectory fn)))))
(let ((fn (dired-get-filename t t)))
(and fn (string-match regexp fn))))
"matching file")))
(defun dired-mark-files-containing-regexp (regexp &optional marker-char)