Skip to content

Commit

Permalink
(twittering-get-response-body): fix coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
yata committed Feb 15, 2010
1 parent c0ff35a commit 0a172c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions twittering-mode.el
Expand Up @@ -1806,11 +1806,12 @@ BUFFER may be a buffer or the name of an existing buffer."
(save-excursion
(goto-char (point-min))
(if (search-forward-regexp "\r?\n\r?\n" nil t)
(condition-case get-error
(condition-case error-str
(funcall func (match-end 0) (point-max))
(error (when (twittering-buffer-active-p)
(message "Failure: %s" get-error))
nil))
(error
(when (twittering-buffer-active-p)
(message "Failure: %s" error-str))
nil))
(error "Failure: invalid HTTP response"))
)))

Expand Down

0 comments on commit 0a172c9

Please sign in to comment.