summaryrefslogtreecommitdiffhomepage
path: root/attic/elisp
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-14 03:53:22 +0100
committerjao <jao@gnu.org>2022-10-14 03:53:22 +0100
commitb2955885cca4b4f91bca63fd2175929f1c684077 (patch)
tree8e8f94d3d43defda3fd17fab33b4cd39c36ef48a /attic/elisp
parente52e42bca291f947980ea1938185bd3cd8d85d07 (diff)
downloadelibs-b2955885cca4b4f91bca63fd2175929f1c684077.tar.gz
elibs-b2955885cca4b4f91bca63fd2175929f1c684077.tar.bz2
jao-random-album-p -> -active (and don't trigger it at startup)
Diffstat (limited to 'attic/elisp')
-rw-r--r--attic/elisp/jao-mpdn.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/attic/elisp/jao-mpdn.el b/attic/elisp/jao-mpdn.el
index d707767..2e02d59 100644
--- a/attic/elisp/jao-mpdn.el
+++ b/attic/elisp/jao-mpdn.el
@@ -1,6 +1,6 @@
;;; jao-mpdn.el --- Notifications using elmpd -*- lexical-binding: t; -*-
-;; Copyright (C) 2021 jao
+;; Copyright (C) 2021, 2022 jao
;; Author: jao <mail@jao.io>
;; Keywords: convenience
@@ -116,7 +116,7 @@
(setq jao-mpdn--current (jao-mpdn--parse-retort txt))
(jao-mpdn--update-minibuffer)
(cond (next (funcall next))
- ((and (null jao-mpdn--current) jao-random-album-p)
+ ((and (null jao-mpdn--current) jao-random-album-active)
(jao-random-album-next)))))))
(jao-mpdn--send "currentsong" cb)))