mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
selectrum: remove side effect in irc jump function
`+irc/selectrum-jump-to-channel` previously modified `+irc--consult-circe-source` in the definition, since `plist-put`, and I quote from the manual: "[] may modify plist destructively, or [] may construct a new list structure without altering the old."
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
"Jump to an open channel or server buffer with selectrum."
|
||||
(interactive)
|
||||
(require 'consult)
|
||||
(consult--multi (list (plist-put +irc--consult-circe-source
|
||||
(consult--multi (list (plist-put (copy-sequence +irc--consult-circe-source)
|
||||
:hidden nil))
|
||||
:narrow nil
|
||||
:require-match t
|
||||
|
Reference in New Issue
Block a user