aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-14 15:53:40 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-14 15:53:40 -0200
commitcdb29dd6f6710e7b94d6efc7aa90c4217c8ba806 (patch)
treec22518d2ee62ed2816a90d6eb8cf301aa9e0e03b
parent4ffa5b9038ee5263702235b8e7923be441548d81 (diff)
parent954e54ba2521dde8f2e3a9349802e24c7d60c7c3 (diff)
Merge pull request #221 from vermiculus/dont-get-favorites-on-initialize
Don't use sx-favorites--initialize
-rw-r--r--sx-favorites.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/sx-favorites.el b/sx-favorites.el
index d98b4c2..444df29 100644
--- a/sx-favorites.el
+++ b/sx-favorites.el
@@ -45,8 +45,10 @@ Added as hook to initialization."
(or (setq sx-favorites--user-favorite-list
(sx-cache-get 'question-favorites))
(sx-favorites-update)))
-;; Append to ensure `sx-network--initialize is run before it.
-(add-hook 'sx-init--internal-hook #'sx-favorites--initialize 'append)
+;; ;; Append to ensure `sx-network--initialize' is run before it.
+;; This is removed for now because it performs a lot of API calls and
+;; was never used.
+;; (add-hook 'sx-init--internal-hook #'sx-favorites--initialize 'append)
(defun sx-favorites--retrieve-favorites (site)
"Obtain list of starred QUESTION_IDs for SITE."