From 9337f974e29d52fc640e9abad28eba75be415d3f Mon Sep 17 00:00:00 2001 From: bg66 Date: Fri, 20 Oct 2006 06:15:37 +0000 Subject: [PATCH] * mixi.el (mixi-login): Return a error when `w3m-use-cookies' is nil. --- ChangeLog | 7 +++++++ mixi.el | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 ChangeLog 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 -- 1.7.10.4