aboutsummaryrefslogtreecommitdiff
path: root/sx-site.el
diff options
context:
space:
mode:
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:41:37 -0500
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-21 08:41:37 -0500
commit9da8cfb79baa8f3e40309abd1b67febd21c1bb96 (patch)
treee3aed7302cdcb2643b3cf15553bf55cc6efb82a6 /sx-site.el
parenta32e103ff075a81b34752e0027052e23a82c462b (diff)
parent1dfd91e7373160854eeb85582598e6c8cc1b3561 (diff)
Merge branch 'master' into sx-method-auth. Conflicts have been
resolved. Logic and functions have been kept from the `cl-defun` `sx-method-call` while docstrings have been updated as per #77 when possible. Conflicts: sx-auth.el sx-method.el sx-question.el sx-request.el
Diffstat (limited to 'sx-site.el')
-rw-r--r--sx-site.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/sx-site.el b/sx-site.el
index 3966a9f..065f113 100644
--- a/sx-site.el
+++ b/sx-site.el
@@ -19,8 +19,6 @@
;;; Commentary:
-;;
-
;;; Code:
(require 'sx-method)
@@ -43,9 +41,11 @@
related_site.api_site_parameter
related_site.relation)
nil
- none))
+ none)
+ "Filter for browsing sites.")
(defun sx-site--get-site-list ()
+ "Return all sites with `sx-site-browse-filter'."
(sx-cache-get
'site-list
'(sx-method-call 'sites
@@ -54,7 +54,9 @@
(defcustom sx-site-favorites
nil
- "Favorite sites."
+ "List of favorite sites.
+Each entry is a string corresponding to a single site's
+api_site_parameter."
:group 'sx-site)
(defun sx-site-get-api-tokens ()