From 60f527e70b40ecbf7cd6fef39e58acdc3ae3c87b Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Fri, 6 Jan 2006 03:20:00 +0000 Subject: emms-stream-info: Use emms-replace-regexp-in-string. darcs-hash:20060106032048-1bfb2-397168fc645c02324e27a8721dae9d28ab5b23c7.gz --- emms-stream-info.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emms-stream-info.el b/emms-stream-info.el index 7101963..9cbb21c 100644 --- a/emms-stream-info.el +++ b/emms-stream-info.el @@ -284,7 +284,7 @@ trye at index 2 means continue to next connection.") (setq key-list (mapcar 'car format-alist)) (mapc (lambda (e) (setq str - (replace-regexp-in-string + (emms-replace-regexp-in-string e (cdr (assoc e format-alist)) str))) @@ -320,7 +320,7 @@ not output a message and only return a string." format-alist)) ;; Escape rougue percent signs hiding in our string. - (setq str (replace-regexp-in-string "%" "%%" str)) + (setq str (emms-replace-regexp-in-string "%" "%%" str)) ;; Either output a message or return a string. But only if it is ;; an identifiable station/channel -- cgit v1.2.3