From 7161c09b30dcf4dd5dad7eacea9652c5f34fe07a Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Wed, 26 Jun 2013 10:28:35 +0100 Subject: [PATCH] Documentation added for :ensure keyword --- lisp/use-package/use-package.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 4778c399dea..c16f2ee2748 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -238,6 +238,17 @@ ;; actual load. In this case, everything could be put inside `:init' and ;; there would be no difference. ;; +;; * For package.el user +;; +;; You can use `use-package' to load packages from ELPA with package.el. This +;; is particularly useful if you share your .emacs between several machines; +;; the relevant packages will download automatically once placed in your +;; .emacs. The `:ensure' key will install the package automatically if it is +;; not already present. +;; +;; (use-package tex-site +;; :ensure auctex) +;; ;; * For el-get users ;; ;; You can use `use-package' as a way to create source definitions for el-get. -- 2.39.2