string-to-int' is obsolete, so use string-to-number'
This commit is contained in:
parent
33c1a8797a
commit
25a569d640
1 changed files with 1 additions and 1 deletions
2
empc.el
2
empc.el
|
|
@ -204,7 +204,7 @@ songs order is kept into an avector `empc-current-playlist'."
|
|||
(decf index))
|
||||
(cond
|
||||
((member field '(:time :track :date :pos :id))
|
||||
(setq song (plist-put song field (string-to-int (cdr cell)))))
|
||||
(setq song (plist-put song field (string-to-number (cdr cell)))))
|
||||
(t (if (plist-get song field)
|
||||
(setq song (plist-put song field (concat (plist-get song field) ", " (cdr cell))))
|
||||
(setq song (plist-put song field (cdr cell))))))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue