aboutsummaryrefslogtreecommitdiff
path: root/sx-tab.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-29 09:36:59 -0500
committerSean Allred <code@seanallred.com>2014-11-29 09:36:59 -0500
commitf5ca9c6d7629817569c3bd58e5569fee88cd5f2b (patch)
treebcbbdcb2e2fdc91f9431d3b3ad605aa0a7fa0bde /sx-tab.el
parenta8e882d99a037075595260dc74fad0fb67c69d81 (diff)
parent00a187f5bb7dc08117965eae05df51d0eedac90e (diff)
Merge branch 'master' into issue-100
Conflicts: sx-question-mode.el
Diffstat (limited to 'sx-tab.el')
-rw-r--r--sx-tab.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/sx-tab.el b/sx-tab.el
index 8a51236..7ccbf18 100644
--- a/sx-tab.el
+++ b/sx-tab.el
@@ -30,11 +30,11 @@
(defcustom sx-tab-default-site "emacs"
"Name of the site to use by default when listing questions."
:type 'string
- :group 'stack-exchange)
+ :group 'sx)
(defmacro sx-tab--define (tab pager &optional printer refresher
&rest body)
- "Define a stack-exchange tab called TAB.
+ "Define a StackExchange tab called TAB.
TAB is a capitalized string.
This defines a command `sx-tab-TAB' for displaying the tab,
@@ -97,6 +97,13 @@ If SITE is nil, use `sx-tab-default-site'."
(lambda (page)
(sx-question-get-questions
sx-question-list--site page)))
+;;;###autoload
+(autoload 'sx-tab-frontpage
+ (expand-file-name
+ "sx-tab"
+ (when load-file-name
+ (file-name-directory load-file-name)))
+ nil t)
(provide 'sx-tab)
;;; sx-tab.el ends here