aboutsummaryrefslogtreecommitdiff
path: root/sx-interaction.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-27 23:06:00 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-27 23:10:34 -0200
commitc37022ffbc52b900d81eee05f3c2c3d5fe6fee01 (patch)
treece2542f664233a19c3391802137999675fd988ef /sx-interaction.el
parent2012346d11a04f7cd9871fced0df2417b5503336 (diff)
Initial implementation of sx-completing-read
Diffstat (limited to 'sx-interaction.el')
-rw-r--r--sx-interaction.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index 372a5b1..9ced1ab 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -340,10 +340,10 @@ from context at point."
(let ((default (or sx-question-list--site
(sx-assoc-let sx-question-mode--data .site)
sx-default-site)))
- (funcall (if ido-mode #'ido-completing-read #'completing-read)
- (format "Site (%s): " default)
- (sx-site-get-api-tokens) nil t nil nil
- default)))
+ (sx-completing-read
+ (format "Site (%s): " default)
+ (sx-site-get-api-tokens) nil t nil nil
+ default)))
;;;###autoload
(defun sx-ask (site)