diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-22 11:37:35 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-22 11:37:35 -0200 |
commit | d51791fb6ae69e3b426f7d598920b4349858908f (patch) | |
tree | ccfed6af7baf30d276eb81ffd7642595d68e079b /sx-question-list.el | |
parent | 5675fc89e2b06b1533cb588368c1ffa4e414d0f4 (diff) |
Refactor .site to .site_par
It turns out some api objects do have a site property, except its value
is not a string, it is another object. The actual string we've been
referring to as .site is the .site.api_site_parameter
To avoid conflicts, I've renamed all our uses of .site to .site_par, and
sx-assoc-let now makes sure the object has a .site_par value, instead of
a .site value (which it may or may not have now, and is the same object
that the api refers to as site).
Diffstat (limited to 'sx-question-list.el')
-rw-r--r-- | sx-question-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-list.el b/sx-question-list.el index 62ce032..4b6c4ef 100644 --- a/sx-question-list.el +++ b/sx-question-list.el @@ -127,7 +127,7 @@ elements: Also see `sx-question-list-refresh'." (sx-assoc-let question-data (let ((favorite (if (member .question_id - (assoc .site + (assoc .site_par sx-favorites--user-favorite-list)) (if (char-displayable-p ?\x2b26) "\x2b26" "*") " "))) (list |