:app irc restore +irc/tracking-next-buffer
Accidentally got removed in 5ddf8b9
This commit is contained in:
parent
abbbc9eafe
commit
4abb7a83d5
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue