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:
parent
f315a60ccc
commit
5a44c1f880
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"Jump to an open channel or server buffer with selectrum."
|
"Jump to an open channel or server buffer with selectrum."
|
||||||
(interactive)
|
(interactive)
|
||||||
(require 'consult)
|
(require 'consult)
|
||||||
(consult--multi (list (plist-put +irc--consult-circe-source
|
(consult--multi (list (plist-put (copy-sequence +irc--consult-circe-source)
|
||||||
:hidden nil))
|
:hidden nil))
|
||||||
:narrow nil
|
:narrow nil
|
||||||
:require-match t
|
:require-match t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue