Bugfix in `empc-mode-line-to-string'
This commit is contained in:
parent
18d96b8a8f
commit
fbd33008cb
1 changed files with 1 additions and 1 deletions
2
empc.el
2
empc.el
|
|
@ -230,7 +230,7 @@ For status:
|
||||||
|
|
||||||
(defun empc-mode-line-to-string ()
|
(defun empc-mode-line-to-string ()
|
||||||
"Return a string as per `empc-mode-line-format'."
|
"Return a string as per `empc-mode-line-format'."
|
||||||
(if song
|
(if (empc-current-song empc-object)
|
||||||
(let* ((song (empc-current-song empc-object))
|
(let* ((song (empc-current-song empc-object))
|
||||||
(status (empc-status empc-object))
|
(status (empc-status empc-object))
|
||||||
(time (empc-time-to-string (plist-get song :time)))
|
(time (empc-time-to-string (plist-get song :time)))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue