aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-08 14:25:43 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-08 14:25:43 -0200
commit954e54ba2521dde8f2e3a9349802e24c7d60c7c3 (patch)
treecc5440c5b3c28e268d061341b69132097779fd95
parentbd471870f800559279738e4f3d7ef3a7993dd951 (diff)
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."