mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
:app irc restore +irc/tracking-next-buffer
Accidentally got removed in 5ddf8b9
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user