diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-23 23:33:37 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-23 23:33:37 -0200 |
commit | 635c863b0c0d19db45d44ce0f25f41f0be650c92 (patch) | |
tree | 749a5f08f3cef4ecac1603d9db4d784e4e46bcf6 | |
parent | 6b837ca538576d97c30af8091a2ebbc2691ddaff (diff) |
3 more tabs: unanswered, unanswered my tags, featured
-rw-r--r-- | sx-tab.el | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -190,6 +190,48 @@ If SITE is nil, use `sx-default-site'." nil t) +;;; Unanswered +(sx-tab--define "Unanswered" + (lambda (page) + (sx-question-get-questions + sx-question-list--site page nil 'unanswered))) +;;;###autoload +(autoload 'sx-tab-unanswered + (expand-file-name + "sx-tab" + (when load-file-name + (file-name-directory load-file-name))) + nil t) + + +;;; Unanswered My-tags +(sx-tab--define "Unanswered-my-tags" + (lambda (page) + (sx-question-get-questions + sx-question-list--site page nil 'unanswered/my-tags))) +;;;###autoload +(autoload 'sx-tab-unanswered + (expand-file-name + "sx-tab" + (when load-file-name + (file-name-directory load-file-name))) + nil t) + + +;;; Featured +(sx-tab--define "Featured" + (lambda (page) + (sx-question-get-questions + sx-question-list--site page nil 'featured))) +;;;###autoload +(autoload 'sx-tab-featured + (expand-file-name + "sx-tab" + (when load-file-name + (file-name-directory load-file-name))) + nil t) + + ;;; Inter-modes navigation (defun sx-tab-meta-or-main () "Switch to the meta version of a main site, or vice-versa. |