diff options
author | Michael Olson <mwolson@gnu.org> | 2006-01-06 03:20:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-01-06 03:20:00 +0000 |
commit | 60f527e70b40ecbf7cd6fef39e58acdc3ae3c87b (patch) | |
tree | 818803a6cde13fc19da4fd8d0df7000eb58a5017 | |
parent | 4b913cf81982670faadaa3f9672a60e8ea63e720 (diff) |
emms-stream-info: Use emms-replace-regexp-in-string.
darcs-hash:20060106032048-1bfb2-397168fc645c02324e27a8721dae9d28ab5b23c7.gz
-rw-r--r-- | emms-stream-info.el | 4 |
1 files 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 |