From: Thien-Thi Nguyen Date: Wed, 28 Feb 2007 10:44:10 +0000 (+0000) Subject: (find-lisp-default-directory-predicate): X-Git-Tag: emacs-pretest-22.0.95~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d60fcd50d1809fa27ad333a198035f8d0341131;p=emacs.git (find-lisp-default-directory-predicate): Fix bug: Do symlink check on expanded filename. --- diff --git a/lisp/find-lisp.el b/lisp/find-lisp.el index 18e30ef37eb..0dd35f23514 100644 --- a/lisp/find-lisp.el +++ b/lisp/find-lisp.el @@ -95,7 +95,7 @@ PARENT is the parent directory of DIR." (string= dir "..") ;; Skip directories which are symlinks ;; Easy way to circumvent recursive loops - (file-symlink-p dir)))) + (file-symlink-p (expand-file-name dir parent))))) (defun find-lisp-default-file-predicate (file dir) "True if FILE matches `find-lisp-regexp'.