Commit fc4f7a23 authored by Eduard Wiebe's avatar Eduard Wiebe Committed by Glenn Morris
Browse files

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

Fixes: debbugs:10445
parent 1b5e5b0c
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):
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment