(find-lisp-default-directory-predicate):
Fix bug: Do symlink check on expanded filename.
This commit is contained in:
parent
73b21162b6
commit
8d60fcd50d
1 changed files with 1 additions and 1 deletions
|
@ -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'.
|
||||
|
|
Loading…
Add table
Reference in a new issue