Skip to content

Commit

Permalink
Merge pull request #663 from asmeurer/auto-package-update
Browse files Browse the repository at this point in the history
Add info about auto-package-update to the README
  • Loading branch information
jwiegley committed Mar 29, 2018
2 parents 592c3fb + 043f296 commit 512aa50
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -670,6 +670,20 @@ If you need to install a different package from the one named by
:ensure auctex)
```

Note that `:ensure` will install a package if it is not already installed, but
it does not keep it up-to-date. If you want to keep your packages updated
automatically, one option is to use
[auto-package-update](https://github.com/rranelli/auto-package-update.el),
like

``` elisp
(use-package auto-package-update
:config
(setq auto-package-update-delete-old-versions t)
(setq auto-package-update-hide-results t)
(auto-package-update-maybe))
```

Lastly, when running on Emacs 24.4 or later, use-package can pin a package to
a specific archive, allowing you to mix and match packages from different
archives. The primary use-case for this is preferring packages from the
Expand Down

0 comments on commit 512aa50

Please sign in to comment.