projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a844f
)
Only use user-site-lisp-directory if defined
author
John Wiegley
<johnw@newartisans.com>
Wed, 11 Jul 2012 06:24:30 +0000
(
01:24
-0500)
committer
John Wiegley
<johnw@newartisans.com>
Wed, 11 Jul 2012 06:24:30 +0000
(
01:24
-0500)
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 35c2fad07d490c33f5d517002eb0fffb89d7e0b1..b378c03900afd13036e417acee593c1d80c0ac59 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-296,7
+296,9
@@
(let* ((pkg-name (plist-get args :name))
(git-config (expand-file-name
(concat pkg-name "/.git/config")
- user-site-lisp-directory)))
+ (if (boundp 'user-site-lisp-directory)
+ user-site-lisp-directory
+ user-emacs-directory))))
(catch 'found
;; Look for a readable .git/config with at least one defined remote.