]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a note about how to use :load-path
authorJohn Wiegley <johnw@newartisans.com>
Sun, 17 Jun 2012 21:47:01 +0000 (16:47 -0500)
committerJohn Wiegley <johnw@newartisans.com>
Sun, 17 Jun 2012 21:47:01 +0000 (16:47 -0500)
lisp/use-package/use-package.el

index 8c8fd27f28d38f87b58c77b821734da634342b2c..716d2730e7027bad9517f72a1d077742e7704bc9 100644 (file)
 ;;     (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