aboutsummaryrefslogtreecommitdiff
path: root/sx-tab.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-02 12:47:03 -0500
committerSean Allred <code@seanallred.com>2015-01-02 12:47:03 -0500
commitcf97f4c691ff5a2ee001e1f22e2eed0d7f6a9df8 (patch)
tree2f521c8f35a9a65f9da02eab4ff83257aa0a0260 /sx-tab.el
parent542ddf73506c2c297106e4b3f4ec0a1d80a35ad8 (diff)
parent9a420bffcc426b4826f14ad1f62b5430750821df (diff)
Merge branch 'master' into goto-map
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 4b9d50b..6a2552f 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)))))