jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.39k stars 259 forks source link

Use-package calls use-package, i.e., in the embeded manner. #944

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

I've the following configuration:

(use-package prescient)
(use-package ivy-prescient
  :after prescient
  :init (setq prescient-filter-method '(literal fuzzy regexp initialism))
  :config (ivy-prescient-mode t))

How can I rewrite the above configuration in an embedded manner, i.e., call another use-package from with the use-package's directive?

hongyi-zhao commented 3 years ago

The currently adopted method is like this.