From 0b2e933c5c46532b2e94cf4542571d2bdfd16862 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 10 Jun 2006 23:05:00 +0000 Subject: Use better exclude regexp, so that people can load music files with '#' in the middle of the name. darcs-hash:20060610230507-1bfb2-b43f8403de4b1123ef7a71408f86510b7a553e63.gz --- emms-source-file.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emms-source-file.el b/emms-source-file.el index 7ccc0c8..b261746 100644 --- a/emms-source-file.el +++ b/emms-source-file.el @@ -70,7 +70,7 @@ find, but it's faster." :group 'emms-source-file) (defcustom emms-source-file-exclude-regexp - (concat "\\`\\(.*\\.?#.*\\|.*,v\\|.*~\\|\\.\\.?\\|,.*\\)\\'\\|" + (concat "\\`\\(#.*#\\|.*,v\\|.*~\\|\\.\\.?\\|\\.#.*\\|,.*\\)\\'\\|" "/\\(CVS\\|RCS\\|\\.arch-ids\\|{arch}\\|,.*\\|\\.svn\\|" "_darcs\\)\\(/\\|\\'\\)") "A regexp matching files to be ignored when adding directories. -- cgit v1.2.3