diff options
Diffstat (limited to 'sx-favorites.el')
-rw-r--r-- | sx-favorites.el | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sx-favorites.el b/sx-favorites.el index d957167..d98b4c2 100644 --- a/sx-favorites.el +++ b/sx-favorites.el @@ -1,4 +1,4 @@ -;;; sx-favorites.el --- Starred questions -*- lexical-binding: t; -*- +;;; sx-favorites.el --- starred questions -*- lexical-binding: t; -*- ;; Copyright (C) 2014 Sean Allred @@ -19,21 +19,20 @@ ;;; Commentary: +;; This file provides logic for retrieving and managing a user's +;; starred questions. + ;;; Code: (require 'sx-method) (require 'sx-cache) (require 'sx-site) (require 'sx-networks) +(require 'sx-filter) -(defvar sx-favorite-list-filter - '((.backoff - .items - .quota_max - .quota_remaining - question.question_id) - nil - none)) +(defconst sx-favorite-list-filter + (sx-filter-from-nil + (question.question_id))) (defvar sx-favorites--user-favorite-list nil "Alist of questions favorited by the user. |