No, it is not. It may give you the same result in this particular case, but this two macro do very different things and they are not equivalent nor interchangeable.
To use a package in Doom, you must must first declare this intent by writing the declaration
(package! ...). There are a lot of different initialization files in Doom called
modules that do this for you. You can inspect these files yourself and learn what they are doing. The modules, besides declaring the recipe and initializing and configuring the package with
use-package!, also typically pin the package to a specific commit.
You can load all these pre-installed configuration files just by putting something like
init.el. The above means that your Emacs instance will execute
unpin! the package then in your
Instead of using the module, you are free to configure the package yourself by using