Skip to content

Commit

Permalink
:app irc restore +irc/tracking-next-buffer
Browse files Browse the repository at this point in the history
Accidentally got removed in 5ddf8b9
  • Loading branch information
iyefrat committed May 21, 2021
1 parent abbbc9e commit 4abb7a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/app/irc/autoload/irc.el
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4abb7a8

Please sign in to comment.