From: bg66 Date: Fri, 20 Oct 2006 06:15:37 +0000 (+0000) Subject: * mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil. X-Git-Tag: cache-file-branchpoint~66 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9337f974e29d52fc640e9abad28eba75be415d3f;p=elisp%2Fmixi.git * mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil. --- diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..6b7dbe1 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,7 @@ +2006-10-20 OHASHI Akira + + * mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil. + +2006-10-20 OHASHI Akira + + * mixi.el: Importing mixi.el. diff --git a/mixi.el b/mixi.el index 14d3650..6a60607 100644 --- a/mixi.el +++ b/mixi.el @@ -262,6 +262,10 @@ while `mixi' is waiting for a server's response." (defun mixi-login (&optional email password) "Login to Mixi." + (unless w3m-use-cookies + (error + (mixi-message + "Require to accept cookies. Please set `w3m-use-cookies' to t."))) (let ((email (or email mixi-default-email (read-from-minibuffer (mixi-message "Login Email: ")))) (password (or password mixi-default-password