fix(irc): do not emit an error when calling =irc
When the *IRC* workspace is already populated by circe buffers, there is no reason to emit an error, just switch to the *IRC* workspace and do nothing.
This commit is contained in:
parent
31a6fa77d0
commit
b2154b5f9b
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@
|
|||
(require 'circe)
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer (doom-fallback-buffer))
|
||||
t)
|
||||
(user-error "IRC buffer is already active and selected"))))
|
||||
t))))
|
||||
|
||||
;;;###autoload
|
||||
(defun =irc (&optional inhibit-workspace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue