Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use buffer object directly instead of its name.

* twittering-mode.el (twittering-http-default-sentinel): use
buffer object directly.
(twittering-http-get-default-sentinel): likewise.
  • Loading branch information...
commit 6672bfb165e761253f77a5bd5c64098823e81448 1 parent 6d63404
@cvmat cvmat authored
Showing with 6 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +2 −2 twittering-mode.el
View
4 ChangeLog
@@ -3,6 +3,10 @@
* twittering-mode.el (twittering-get-and-render-timeline): copy
spec-string and clear its text properties.
+ * twittering-mode.el (twittering-http-default-sentinel): use
+ buffer object directly.
+ (twittering-http-get-default-sentinel): likewise.
+
2010-02-14 Tadashi MATSUO <tad@mymail.twin.jp>
* twittering-mode.el (twittering-get-usernames-from-timeline): new
View
4 twittering-mode.el
@@ -1671,7 +1671,7 @@ Available keywords:
(defun twittering-http-default-sentinel (func noninteractive proc stat &optional suc-msg)
(debug-printf "http-default-sentinel: proc=%s stat=%s" proc stat)
- (let ((temp-buffer (buffer-name (process-buffer proc))))
+ (let ((temp-buffer (process-buffer proc)))
(unwind-protect
(let ((header (twittering-get-response-header temp-buffer))
(mes nil))
@@ -1697,7 +1697,7 @@ Available keywords:
(let* ((spec (twittering-get-timeline-spec-from-process proc))
(spec-string (twittering-timeline-spec-to-string spec))
(statuses (twittering-get-status-from-http-response
- spec (buffer-name (process-buffer proc)))))
+ spec (process-buffer proc))))
(when statuses
(twittering-add-statuses-to-timeline-data statuses spec)
;; FIXME: We should retrieve un-retrieved statuses until
Please sign in to comment.
Something went wrong with that request. Please try again.