refactor(lib): use cl-callf instead of plist-{put,delete}!

I rediscovered cl-callf and decided to cut down on redundancies.
This commit is contained in:
Henrik Lissner 2022-06-14 20:25:39 +02:00
parent d0cdf8f5c6
commit fd12794930
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 21 additions and 21 deletions

View file

@ -12,7 +12,7 @@ See `circe-network-options' for details."
(declare (indent 1))
(after! circe
(unless (plist-member plist :host)
(plist-put! plist :host server))
(cl-callf plist-put plist :host server))
(setf (alist-get server circe-network-options
nil nil #'equal)
plist)))