Skip to content

Commit

Permalink
`twittering-ensure-connection-method' displays an error message.
Browse files Browse the repository at this point in the history
* twittering-mode.el: `twittering-ensure-connection-method'
displays an error message if no connection methods available.
(twittering-ensure-connection-method): display an error message if
no connection methods are available.
(twittering-visit-timeline): do not display an error message if no
connection methods are available.
  • Loading branch information
cvmat committed Jun 26, 2011
1 parent ed84906 commit 4b547ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
(twittering-ensure-connection-method): return correct value in the
case with compromise.

* twittering-mode.el: `twittering-ensure-connection-method'
displays an error message if no connection methods available.
(twittering-ensure-connection-method): display an error message if
no connection methods are available.
(twittering-visit-timeline): do not display an error message if no
connection methods are available.

2011-06-21 Takashi Masuda <masutaka@nifty.com>

* twittering-mode.el: Add text properties to "%C".
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ Return nil if no connection methods are available with a compromise."
(twittering-update-mode-line)
(twittering-ensure-connection-method order table))
(t
(message "No connection methods are available.")
nil))))

(defun twittering-make-http-request (method header-list host port path query-parameters post-body use-ssl)
Expand Down Expand Up @@ -7562,7 +7563,6 @@ entry in `twittering-edit-skeleton-alist' are performed.")
(when timeline-spec
(switch-to-buffer (twittering-get-managed-buffer timeline-spec)))))
(t
(message "No connection methods are available.")
nil)))

(defun twittering-friends-timeline ()
Expand Down

0 comments on commit 4b547ac

Please sign in to comment.