diff options
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r-- | emms-player-mpd.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el index c59e715..15f02f5 100644 --- a/emms-player-mpd.el +++ b/emms-player-mpd.el @@ -311,7 +311,7 @@ Otherwise, it will be nil." (defun emms-player-mpd-parse-line (line) "Turn the given LINE from MusicPD into a cons cell. The format of the cell is (name . value)." - (when (string-match "\\`\\([^:]+\\):\\s-*\\(.+\\)" line) + (when (string-match "\\`\\([^:\n]+\\):\\s-*\\(.+\\)" line) (let ((name (match-string 1 line)) (value (match-string 2 line))) (if (and name value) |