mirror of
https://github.com/larstvei/Try.git
synced 2024-11-26 03:28:31 +00:00
parent
f5a930105e
commit
2046f582ce
3
try.el
3
try.el
@ -87,7 +87,8 @@ to a raw .el file. Packages are stored in `try-tmp-dir' and raw
|
|||||||
(package-symbol (intern url-or-package)))
|
(package-symbol (intern url-or-package)))
|
||||||
(cond ((try-raw-link-p url-or-package) (try-raw-link url-or-package))
|
(cond ((try-raw-link-p url-or-package) (try-raw-link url-or-package))
|
||||||
((try-package-exists-p package-symbol)
|
((try-package-exists-p package-symbol)
|
||||||
(let ((package-user-dir try-tmp-dir)
|
(let ((package-selected-packages nil) ; Don't store packages
|
||||||
|
(package-user-dir try-tmp-dir)
|
||||||
(package-alist nil))
|
(package-alist nil))
|
||||||
(package-install package-symbol)
|
(package-install package-symbol)
|
||||||
(message "Trying %s!" url-or-package)))
|
(message "Trying %s!" url-or-package)))
|
||||||
|
Loading…
Reference in New Issue
Block a user