aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Silva <psilva+git@pedrosilva.pt>2013-04-03 00:45:28 +0100
committerPedro Silva <psilva+git@pedrosilva.pt>2013-04-03 00:45:28 +0100
commit8bd904eb6d3bcda4d3ae0838dde1a1199ab685e6 (patch)
treed9183ea7b5479114feaf03d81229626138ab1775
parentc4f1391d9e82dfeb26c0edd8ccdd6fec2209f324 (diff)
Use locally bound ADDRESS instead of global nnttrss-address
- nnttrss-get-{unread,counters}
-rw-r--r--nnttrss.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnttrss.el b/nnttrss.el
index 5b2a5c5..751344f 100644
--- a/nnttrss.el
+++ b/nnttrss.el
@@ -125,7 +125,7 @@ credentials. Returns a session id string or nil."
(defun nnttrss-get-unread (address session-id)
"Return number of unread artibles at ADDRESS using SESSION-ID
credentials."
- (nnttrss-post-request nnttrss-address
+ (nnttrss-post-request address
:unread
:op "getUnread"
:sid session-id))
@@ -135,7 +135,7 @@ credentials. Returns a session id string or nil."
categories, or tags at ADDRESS using SESSION-ID credentials.
Each plist has the keywords :counter and :id and,
possibly, :has_img, :updated, and :kind."
- (nnttrss-post-request nnttrss-address
+ (nnttrss-post-request address
nil
:op "getCounters"
:sid session-id))