From 29907737af89a046bd8f8e87ef83e7ccae8687ab Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sun, 2 Apr 2006 17:50:00 +0000 Subject: Make sure that negated character classes in regexps include the newline character, so that there is no possibility of empty lines being matched. darcs-hash:20060402175002-1bfb2-9f7ccf9489b3688d660b612a7243fe42e87e84e7.gz --- emms-source-playlist.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emms-source-playlist.el') diff --git a/emms-source-playlist.el b/emms-source-playlist.el index 1e4a6fb..37514a2 100644 --- a/emms-source-playlist.el +++ b/emms-source-playlist.el @@ -168,7 +168,7 @@ Empty lines and lines starting with '#' are ignored." (let ((files nil)) (save-excursion (goto-char (point-min)) - (while (re-search-forward "^[^# ].*$" nil t) + (while (re-search-forward "^[^# \n].*$" nil t) (setq files (cons (match-string 0) files)))) (nreverse files))) -- cgit v1.2.3