diff options
author | William Xu <william.xwl@gmail.com> | 2007-03-05 04:29:00 +0000 |
---|---|---|
committer | William Xu <william.xwl@gmail.com> | 2007-03-05 04:29:00 +0000 |
commit | 12bb84d83af7c6974f4d8ed1f3f67d1a3b42e574 (patch) | |
tree | a664bffec4b99ac260cabd8305d912a62edafbc5 | |
parent | 7a900b9da3998446b7b61fe8d17d0ea5f276ee6e (diff) |
emms-lyrics.el: Fix a function name typo.
darcs-hash:20070305042950-cfa61-3c32bf7ae71bbc7340928363335e1ee0172f6abd.gz
-rw-r--r-- | emms-lyrics.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emms-lyrics.el b/emms-lyrics.el index 454a1fd..9b126dd 100644 --- a/emms-lyrics.el +++ b/emms-lyrics.el @@ -204,10 +204,10 @@ If we can't find it from local disk, then search it from internet." "http://mp3.baidu.com/m?f=ms&rn=10&tn=baidump3lyric&ct=150994944&word=%s&lm=-1" (emms-lyrics-url-quote-plus (encode-coding-string title 'gb2312))))) - (else ; english lyrics + (t ; english lyrics (setq url (format "http://search.lyrics.astraweb.com/?word=%s" ;;"http://www.lyrics007.com/cgi-bin/s.cgi?q=" - (replace-regexp-in-string " " "+" title))))) + (emms-lyrics-url-quote-plus title))))) (browse-url url) (message "lyric file does not exist, search it from internet...done"))))) @@ -495,7 +495,7 @@ e.g., (defun emms-lyrics-url-quote-plus (s &optional safe) "Run (emms-url-quote s \" \"), then replace ` ' with `+'." (replace-regexp-in-string - " " "+" (emms-url-quote s (concat safe " ")))) + " " "+" (emms-lyrics-url-quote s (concat safe " ")))) ;;; emms-lyrics-mode |