diff options
author | Sean Allred <code@seanallred.com> | 2014-11-29 09:36:59 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-29 09:36:59 -0500 |
commit | f5ca9c6d7629817569c3bd58e5569fee88cd5f2b (patch) | |
tree | bcbbdcb2e2fdc91f9431d3b3ad605aa0a7fa0bde /sx-tab.el | |
parent | a8e882d99a037075595260dc74fad0fb67c69d81 (diff) | |
parent | 00a187f5bb7dc08117965eae05df51d0eedac90e (diff) |
Merge branch 'master' into issue-100
Conflicts:
sx-question-mode.el
Diffstat (limited to 'sx-tab.el')
-rw-r--r-- | sx-tab.el | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |