Skip to content

Commit

Permalink
Fix the message for dead process on basic authentication.
Browse files Browse the repository at this point in the history
* twittering-mode.el: Fix the message for dead process on basic
authentication.
(twittering-verify-credentials): make the message for dead process
on basic authentication similar as that on OAuth/xAuth
authentication.
  • Loading branch information
cvmat committed May 21, 2011
1 parent 7b79783 commit 04f63ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
2011-05-21 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el: Fix the message for dead process on basic
authentication.
(twittering-verify-credentials): make the message for dead process
on basic authentication similar as that on OAuth/xAuth
authentication.

2011-05-16 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el: Ensure that a sentinel is invoked when a
Expand Down
9 changes: 6 additions & 3 deletions twittering-mode.el
Expand Up @@ -4150,8 +4150,9 @@ If `twittering-password' is nil, read it from the minibuffer."
(twittering-process-alive-p proc))
(sit-for 0.1))
(when (twittering-account-authorization-queried-p)
(message "Status of Authorization process is `%s'. Type M-x twit to retry."
(process-status proc))
(message
"Status of Authorization process is `%s'. Type M-x twit to retry."
(process-status proc))
(setq twittering-account-authorization nil))))))
(t
(message "Failed to load an authorized token from \"%s\"."
Expand Down Expand Up @@ -4253,7 +4254,9 @@ If `twittering-password' is nil, read it from the minibuffer."
(twittering-process-alive-p proc))
(sit-for 0.1))
(when (twittering-account-authorization-queried-p)
(message "Authorization was interrupted. Type M-x twit to retry.")
(message
"Status of Authorization process is `%s'. Type M-x twit to retry."
(process-status proc))
(setq twittering-account-authorization nil))))))
(t
(message "%s is invalid as an authorization method."
Expand Down

0 comments on commit 04f63ac

Please sign in to comment.