aboutsummaryrefslogtreecommitdiff
path: root/sx-favorites.el
diff options
context:
space:
mode:
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:41:37 -0500
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:41:37 -0500
commit9da8cfb79baa8f3e40309abd1b67febd21c1bb96 (patch)
treee3aed7302cdcb2643b3cf15553bf55cc6efb82a6 /sx-favorites.el
parenta32e103ff075a81b34752e0027052e23a82c462b (diff)
parent1dfd91e7373160854eeb85582598e6c8cc1b3561 (diff)
Merge branch 'master' into sx-method-auth. Conflicts have been
resolved. Logic and functions have been kept from the `cl-defun` `sx-method-call` while docstrings have been updated as per #77 when possible. Conflicts: sx-auth.el sx-method.el sx-question.el sx-request.el
Diffstat (limited to 'sx-favorites.el')
-rw-r--r--sx-favorites.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/sx-favorites.el b/sx-favorites.el
index f254137..c00d262 100644
--- a/sx-favorites.el
+++ b/sx-favorites.el
@@ -19,8 +19,6 @@
;;; Commentary:
-;;
-
;;; Code:
(require 'sx-method)
@@ -39,13 +37,11 @@
(defvar sx-favorites--user-favorite-list nil
"Alist of questions favorited by the user.
-
Each element has the form (SITE FAVORITE-LIST). And each element
in FAVORITE-LIST is the numerical QUESTION_ID.")
(defun sx-favorites--initialize ()
"Ensure question-favorites cache is available.
-
Added as hook to initialization."
(or (setq sx-favorites--user-favorite-list
(sx-cache-get 'question-favorites))
@@ -62,7 +58,6 @@ Added as hook to initialization."
(defun sx-favorites--update-site-favorites (site)
"Update list of starred QUESTION_IDs for SITE.
-
Writes list to cache QUESTION-FAVORITES."
(let* ((favs (sx-favorites--retrieve-favorites site))
(site-cell (assoc site