From 0736be8e67dfee3e87b61bb851b36a313b84fa07 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 17 Jun 2012 16:47:01 -0500 Subject: [PATCH] Add a note about how to use :load-path --- lisp/use-package/use-package.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 8c8fd27f28d..716d2730e70 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -171,6 +171,15 @@ ;; (eval-when-compile ;; (autoload 'w3m-search-escape-query-string "w3m-search"))) ;; +;; If your package needs a directory added to the `load-path' in order load, +;; use `:load-path'. It takes a string or a list of strings. If the path is +;; relative, it will be expanded within `user-emacs-directory': +;; +;; (use-package ess-site +;; :disabled t +;; :load-path "site-lisp/ess/lisp/" +;; :commands R) +;; ;; Lastly, `use-package' provides built-in support for the diminish utility, ;; if you have that installed. It's purpose is to remove strings from your ;; mode-line that would otherwise always be there and provide no useful -- 2.39.2