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
commit deefb0b0e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) (cond ((featurep! :completion ivy) #'+irc/ivy-jump-to-channel)
((user-error "No jump-to-channel backend is enabled. Enable ivy!"))))) ((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 ;;; Hooks/fns