mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user