Add match-full option to directory-files{,-recur}
authorNelson Ferreira <nferreira9@bloomberg.net>
Fri, 3 Apr 2020 12:32:45 +0000 (08:32 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Fri, 3 Apr 2020 13:36:33 +0000 (09:36 -0400)
commit78c79a6791615c00944f28b13002affdb4043228
tree39889dffcb4dcaa3d916c9307418ecb25decebd8
parente794190ea12bf6484c1133d0ba2ef29428bd9c72
Add match-full option to directory-files{,-recur}

    This option fixes the oddity that when matching the file either
    with regex or with predicate one could only use the actual
    filename, and could not consider the full path.  This add
    'match-full to the FULL option, and in this case the regex and
    the predicate will receive the full path not just the filename

    * src/dired.c(directory-files): Add match-full support
      (directory-files-recur): Add match-full support

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/dired.c