aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-lyrics.el6
-rw-r--r--emms-playing-time.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el
index 3ed5a66..586ce1b 100644
--- a/emms-lyrics.el
+++ b/emms-lyrics.el
@@ -170,7 +170,7 @@ To find FILE, will look up in current directory and `emms-lyrics-dir'."
(emms-playlist-current-selected-track)
'name)))
(emms-lyrics-read-file
- (replace-regexp-in-string
+ (emms-replace-regexp-in-string
(file-name-extension file) "lrc" file)))
(emms-lyrics-set-timer)))
@@ -329,7 +329,7 @@ a valid `emms-lyrics-dir'."
(concat emms-source-file-gnu-find " "
emms-lyrics-dir " -name "
"'" ; wrap up whitespaces
- (replace-regexp-in-string
+ (emms-replace-regexp-in-string
"'" "*" ; FIX ME, '->\'
(file-name-nondirectory file))
"'"))
@@ -355,7 +355,7 @@ beginning of next line."
emms-lyrics-elapsed-time))
(min (/ (* (floor (/ total 60)) 100) 100))
(sec (/ (floor (* (rem* total 60) 100)) 100.0)))
- (insert (replace-regexp-in-string
+ (insert (emms-replace-regexp-in-string
" " "0" (format "[%2d:%2d]" min sec))))
(emms-lyrics-next-line))
diff --git a/emms-playing-time.el b/emms-playing-time.el
index 2a5d914..3604ce4 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -151,7 +151,7 @@ should enable `emms-playing-time-display-p' first, though."
(setq emms-playing-time-string
(format
emms-playing-time-display-format
- (replace-regexp-in-string
+ (emms-replace-regexp-in-string
" " "0"
(if (or emms-playing-time-display-short-p
;; unable to get total playing-time