From: John Wiegley Date: Sun, 17 Jun 2012 21:47:01 +0000 (-0500) Subject: Add a note about how to use :load-path X-Git-Tag: emacs-29.0.90~1306^2~15^2~477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0736be8e67dfee3e87b61bb851b36a313b84fa07;p=emacs.git Add a note about how to use :load-path --- 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