From 12bb84d83af7c6974f4d8ed1f3f67d1a3b42e574 Mon Sep 17 00:00:00 2001 From: William Xu Date: Mon, 5 Mar 2007 04:29:00 +0000 Subject: emms-lyrics.el: Fix a function name typo. darcs-hash:20070305042950-cfa61-3c32bf7ae71bbc7340928363335e1ee0172f6abd.gz --- emms-lyrics.el | 6 +++--- 1 file 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 -- cgit v1.2.3