:app irc restore +irc/tracking-next-buffer

Accidentally got removed in 5ddf8b9
This commit is contained in:
Itai Y. Efrat 2021-05-21 12:41:28 +03:00
parent abbbc9eafe
commit 4abb7a83d5

View file

@ -71,6 +71,14 @@ argument) is non-nil only show channels in current server."
(cond ((featurep! :completion ivy) #'+irc/ivy-jump-to-channel)
((user-error "No jump-to-channel backend is enabled. Enable ivy!")))))
;;;###autoload
(defun +irc/tracking-next-buffer ()
"Disables switching to an unread buffer unless in the irc workspace."
(interactive)
(when (derived-mode-p 'circe-mode)
(tracking-next-buffer)))
;;
;;; Hooks/fns