>From 86e25b300f2375af17fcb3dc3ad1e07db6cc593f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 13 Sep 2017 13:47:10 -0400 Subject: [PATCH] lisp: Follow symlinks when using GNU find. This fixes a problem which was initially reported by Daniel Dehennin in 2014. (See: https://lists.gnu.org/archive/html/emms-help/2014-01/msg00003.html) * lisp/emms-source-file.el (emms-source-file-directory-tree-find): Add "-L" argument to the `find' command. --- lisp/emms-source-file.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emms-source-file.el b/lisp/emms-source-file.el index 660cbd5..8677c22 100644 --- a/lisp/emms-source-file.el +++ b/lisp/emms-source-file.el @@ -228,6 +228,7 @@ may be supplied using `emms-source-file-gnu-find'." (with-temp-buffer (call-process emms-source-file-gnu-find nil t nil + "-L" ;follow symlinks (expand-file-name dir) "-type" "f" "-iregex" (concat ".*\\(" regex "\\).*")) -- 2.14.1