diff options
author | Michael Olson <mwolson@gnu.org> | 2006-04-02 17:50:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-04-02 17:50:00 +0000 |
commit | 29907737af89a046bd8f8e87ef83e7ccae8687ab (patch) | |
tree | 2bfa75da9b5c2365c92eff42af6b588a547c1ca9 /emms-source-playlist.el | |
parent | 6c31e5abefd41045f9325827f6976d790f12fa82 (diff) |
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
Diffstat (limited to 'emms-source-playlist.el')
-rw-r--r-- | emms-source-playlist.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |