# HG changeset patch # User Richard M. Stallman # Date 1166386453 0 # Node ID 2347e4b0bec21140db9907d031b374a00cfcf44b # Parent 29c73296a0448e82dd713f4d74e3c9c4ff0dc684 Fix previous change. diff -r 29c73296a044 -r 2347e4b0bec2 src/dired.c --- a/src/dired.c Sun Dec 17 20:13:13 2006 +0000 +++ b/src/dired.c Sun Dec 17 20:14:13 2006 +0000 @@ -402,6 +402,9 @@ If there is only one and FILE matches it exactly, returns t. Returns nil if DIRECTORY contains no name starting with FILE. +If PREDICATE is non-nil, call PREDICATE with each possible +completion (in absolute form) and ignore it if PREDICATE returns nil. + This function ignores some of the possible completions as determined by the variable `completion-ignored-extensions', which see. */) (file, directory, predicate)