aboutsummaryrefslogtreecommitdiff
path: root/sx-tab.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-tab.el
parent00ccd139248e782cd8316eff65c26aed838c7e46 (diff)
parent9a420bffcc426b4826f14ad1f62b5430750821df (diff)
Merge branch 'master' into fix-mark-read-logic
Diffstat (limited to 'sx-tab.el')
-rw-r--r--sx-tab.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/sx-tab.el b/sx-tab.el
index 6c5e21e..32a7784 100644
--- a/sx-tab.el
+++ b/sx-tab.el
@@ -34,10 +34,10 @@
(defun sx-tab-switch (tab)
"Switch to another question-list tab."
(interactive
- (list (funcall (if ido-mode #'ido-completing-read #'completing-read)
- "Switch to tab: " sx-tab--list
- (lambda (tab) (not (equal tab sx-question-list--current-tab)))
- t)))
+ (list (sx-completing-read
+ "Switch to tab: " sx-tab--list
+ (lambda (tab) (not (equal tab sx-question-list--current-tab)))
+ t)))
(funcall (intern (format "sx-tab-%s" (downcase tab)))))