diff options
author | jao <jao@gnu.org> | 2022-10-14 03:53:22 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-14 03:53:22 +0100 |
commit | b2955885cca4b4f91bca63fd2175929f1c684077 (patch) | |
tree | 8e8f94d3d43defda3fd17fab33b4cd39c36ef48a /attic/elisp | |
parent | e52e42bca291f947980ea1938185bd3cd8d85d07 (diff) | |
download | elibs-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.el | 4 |
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))) |