selectrum: add +irc/selectrum-jump-to-channel

This commit is contained in:
Itai Y. Efrat 2021-05-08 22:50:58 +03:00
parent 26a310d04c
commit 693eb3c9a4
4 changed files with 32 additions and 3 deletions

View file

@ -68,8 +68,9 @@ workspace for it."
argument) is non-nil only show channels in current server."
(interactive "P")
(call-interactively
(cond ((featurep! :completion ivy) #'+irc/ivy-jump-to-channel)
((user-error "No jump-to-channel backend is enabled. Enable ivy!")))))
(cond ((featurep! :completion ivy) #'+irc/ivy-jump-to-channel)
((featurep! :completion selectrum) #'+irc/selectrum-jump-to-channel)
((user-error "No jump-to-channel backend is enabled. Enable selectrum or ivy!")))))
;;;###autoload
(defun +irc/tracking-next-buffer ()