Merge pull request #5076 from iyefrat/irc

:app irc restore +irc/tracking-next-buffer
This commit is contained in:
Henrik Lissner
2021-05-21 11:17:39 -04:00
committed by GitHub

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