Michael Heerdegen writes: > Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > >> - 'file-directory-p)) >> + (lambda (filename) >> + (if predicate >> + (and (file-directory-p filename) >> + (funcall predicate filename)) >> + (file-directory-p filename))))) > > Yip. Nitpick: The code will be faster if you move the test out of the > predicate (so that it will not be performed repeatedly): > > #+begin_src emacs-lisp > (if predicate > (lambda (filename) > (and (file-directory-p filename) > (funcall predicate filename))) > #'file-directory-p) > #+end_src Thank you!! See attached patch. Joseph