refactor(cli): replace cl-callf+map-delete w/ cl-remf
This commit is contained in:
parent
7e75271933
commit
c8099a89ad
1 changed files with 1 additions and 1 deletions
|
@ -1700,7 +1700,7 @@ ignored.
|
||||||
(commands (doom-cli--command-expand command t))
|
(commands (doom-cli--command-expand command t))
|
||||||
(target (pop commands)))
|
(target (pop commands)))
|
||||||
(dolist (prop '(:autoload :alias :partial :hide))
|
(dolist (prop '(:autoload :alias :partial :hide))
|
||||||
(cl-callf map-delete plist prop))
|
(cl-remf plist prop))
|
||||||
(puthash (delq nil (cons type target))
|
(puthash (delq nil (cons type target))
|
||||||
(make-doom-cli
|
(make-doom-cli
|
||||||
:command target
|
:command target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue