aboutsummaryrefslogtreecommitdiff
path: root/sx-question-list.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-02 12:14:23 -0500
committerSean Allred <code@seanallred.com>2015-01-02 12:14:23 -0500
commitdbbcabcffcd7ef171b7f8f28ce35e28b70aa00a8 (patch)
tree7c66182afa68c8dc1528c50ae0c0f846d278ef12 /sx-question-list.el
parent00ccd139248e782cd8316eff65c26aed838c7e46 (diff)
parent9a420bffcc426b4826f14ad1f62b5430750821df (diff)
Merge branch 'master' into fix-mark-read-logic
Diffstat (limited to 'sx-question-list.el')
-rw-r--r--sx-question-list.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/sx-question-list.el b/sx-question-list.el
index 4bd6478..cf849db 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
@@ -317,12 +317,13 @@ into consideration.
(":" sx-question-list-switch-site)
("t" sx-tab-switch)
("a" sx-ask)
+ ("s" sx-search)
("v" sx-visit-externally)
("u" sx-toggle-upvote)
("d" sx-toggle-downvote)
("h" sx-question-list-hide)
("m" sx-question-list-mark-read)
- ([?\r] sx-display-question)
+ ([?\r] sx-display)
))
(defun sx-question-list-hide (data)
@@ -559,12 +560,11 @@ This does not update `sx-question-mode--window'."
(defun sx-question-list-switch-site (site)
"Switch the current site to SITE and display its questions.
-Use `ido-completing-read' if variable `ido-mode' is active.
Retrieve completions from `sx-site-get-api-tokens'.
Sets `sx-question-list--site' and then call
`sx-question-list-refresh' with `redisplay'."
(interactive
- (list (funcall (if ido-mode #'ido-completing-read #'completing-read)
+ (list (sx-completing-read
"Switch to site: " (sx-site-get-api-tokens)
(lambda (site) (not (equal site sx-question-list--site)))
t)))