Function: lookfor-dired

lookfor-dired is a function alias and interactive for find-grep-dired, defined in find-dired.el.gz.

This command is obsolete since 29.1; use find-grep-dired instead.

Signature

(lookfor-dired DIR REGEXP)

Documentation

Find files in DIR that contain matches for REGEXP and start Dired on output.

The command run (after changing into DIR) is

  find . \( -type f -exec grep-program find-grep-options \
    -e REGEXP {} \; \) -ls

where the first string in the value of the variable find-ls-option specifies what to use in place of "-ls" as the final argument.

Key Bindings

Aliases

eshell/gf lookfor-dired (obsolete since 29.1)