refactor(cli): replace cl-callf+map-delete w/ cl-remf

This commit is contained in:
Henrik Lissner 2022-09-15 19:16:39 +02:00
parent 7e75271933
commit c8099a89ad
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1700,7 +1700,7 @@ ignored.
(commands (doom-cli--command-expand command t))
(target (pop commands)))
(dolist (prop '(:autoload :alias :partial :hide))
(cl-callf map-delete plist prop))
(cl-remf plist prop))
(puthash (delq nil (cons type target))
(make-doom-cli
:command target