mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor(cli): replace cl-callf+map-delete w/ cl-remf
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user