aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam.xwl <william.xwl>2005-10-05 05:53:00 +0000
committerwilliam.xwl <mwolson@gnu.org>2005-10-05 05:53:00 +0000
commit4a5b03f31983d0419dd189c3f2220f17e491bf63 (patch)
tree2b0bdd6ddd2bbf77ef116b5ea5b3ffa0ab18623c
parentc3312693608064f399eea3e4fba5fc45834bf0be (diff)
emms.el: Should initialize `emms-player-paused-p' to nil at start. Or a
pause + stop would make `emms-player-paused-p' be wrong. darcs-hash:20051005055332-e8fe6-27c08bc14b67b708d92dc257186a1034e2420286.gz
-rw-r--r--emms.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms.el b/emms.el
index 1106407..fa91ee7 100644
--- a/emms.el
+++ b/emms.el
@@ -1087,7 +1087,8 @@ or nil if no such player exists."
(error "Don't know how to play track: %s" track)
(funcall (emms-player-get player 'start)
track)
- (setq emms-player-playing-p player)
+ (setq emms-player-playing-p player
+ emms-player-paused-p nil)
(run-hooks 'emms-player-started-hook)))))
(defun emms-player-stop ()