[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mark package as installed when use git
From: |
John Ankarström |
Subject: |
Re: Mark package as installed when use git |
Date: |
Tue, 13 Jun 2017 17:14:53 +0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) |
Martin <mylists@kaffanke.at> writes:
> Now I'm a bit unclear. :(
>
> I changed my config from init.el with some load-path for mu4e and
> org-mode to this:
>
> https://github.com/novoid/dot-emacs
Hi again,
My point was that, if you use `use-package', you should never
need to manually add anything to the `load-path' variable using
`add-to-list'. The `use-package' keyword :load-path handles this
for you.
I looked at your config.org; I'm not sure what `my-load-local-el'
does, but I'm sure you could replace it with `use-package'.
If you for any reason don't want to configure Org-mode via the
`use-package' function, you should replace `:ensure t' with
`:ensure nil' on any package that has Org-mode as a dependency;
setting :ensure to t means that `use-package' will automatically
install the package (as well as its dependencies).
Overall, though, you should either use `use-package' fully and
avoid manually loading packages outside of `use-package', or
abandon `use-package' entirely. In my opinion :-)
If anything's unclear, feel free to ask again.
- John