aboutsummaryrefslogtreecommitdiff
path: root/sx-favorites.el
diff options
context:
space:
mode:
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:08:33 -0500
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:08:33 -0500
commit7fc59f07e565ee1e0696b8ca61b8faa6f480a768 (patch)
tree047d50c43ba2923cb69cf44617074a9246e499a1 /sx-favorites.el
parentbb4d8791f6cafeb0b87aa512aab2f0a97e8c0d3d (diff)
parent1dfd91e7373160854eeb85582598e6c8cc1b3561 (diff)
Merge branch 'master' into invalidate-cache
Conflicts: sx-cache.el - RESOLVED
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 3aa96dd..71079fb 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