diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-27 23:06:00 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-27 23:10:34 -0200 |
commit | c37022ffbc52b900d81eee05f3c2c3d5fe6fee01 (patch) | |
tree | ce2542f664233a19c3391802137999675fd988ef /sx-tab.el | |
parent | 2012346d11a04f7cd9871fced0df2417b5503336 (diff) |
Initial implementation of sx-completing-read
Diffstat (limited to 'sx-tab.el')
-rw-r--r-- | sx-tab.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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))))) |