From 0a172c98ddf016f716b161c1ff4474438cb31896 Mon Sep 17 00:00:00 2001 From: Satoshi Yatagawa Date: Tue, 16 Feb 2010 01:44:43 +0900 Subject: [PATCH] (twittering-get-response-body): fix coding style. --- twittering-mode.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/twittering-mode.el b/twittering-mode.el index 57b908c0..2a790b20 100644 --- a/twittering-mode.el +++ b/twittering-mode.el @@ -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")) )))