aboutsummaryrefslogtreecommitdiff
path: root/sx-favorites.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-20 21:24:19 -0600
committerSean Allred <code@seanallred.com>2014-11-20 21:24:19 -0600
commit1dfd91e7373160854eeb85582598e6c8cc1b3561 (patch)
treec7050cf510f00ea005b76395ff07064ec04bbef0 /sx-favorites.el
parent681319aeb250a83d982d1e3e02264a7af0ae4120 (diff)
parentfd6b8111a13c042e5d0f2f3b689043c394c6e52d (diff)
Merge pull request #77 from vermiculus/documentation
Documentation
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