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:
parent
d0cdf8f5c6
commit
fd12794930
3 changed files with 21 additions and 21 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue