aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.stumpwmrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.stumpwmrc b/.stumpwmrc
index ec3eb9b..25997cb 100644
--- a/.stumpwmrc
+++ b/.stumpwmrc
@@ -81,12 +81,12 @@
(let (mpd-was-playing)
(defun mpd-pause ()
"Pause MPD playback."
- (when (setf mpd-was-playing-p (mpd-playing-p))
+ (when (setf mpd-was-playing (mpd-playing-p))
(sb-ext:run-program "/usr/bin/mpc" '("pause") :wait nil)))
(defun mpd-play ()
"Resume MPD playback."
- (when mpd-was-playing-p
+ (when mpd-was-playing
(sb-ext:run-program "/usr/bin/mpc" '("play") :wait nil))))
(defcommand emacs-move-focus (dir) ((:direction "Direction: "))