mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-28 16:51:08 -05:00
refactor(cli): remove :stub, :obsolete, :deprecated, :since
I've removed these CLI properties because they were either unused (:deprecated and :since) or poorly implemented (:stub and :obsolete). And I'd rather have fewer magical properties, and instead delegate these roles to the defobsolete! and (new) defstub! macros. Also, in the future, the help API will ascertain :since dynamically, so it won't be very useful. In summary: - Use defstub! instead of :stub - Use defobsolete! instead of :obsolete or :deprecated - This removes the doom-cli-deprecated-error type (it's not really an error to begin with). - Removes :stub, :obsolete, :deprecated, and :since
This commit is contained in:
@@ -58,7 +58,7 @@ list remains lean."
|
||||
(doom-autoloads-reload))
|
||||
t)
|
||||
|
||||
(defcli! rollback () :stub t) ; TODO Implement me post-3.0
|
||||
(defstub! rollback) ; TODO Implement me post-3.0
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user