el-get/test/el-get-issue-1472.el
Noam Postavsky 6c1562ee55 el-get-init-and-install: handle new :depends
If a package to be init'd has new dependencies, simply install them
rather than throwing an error about missing packages. A warning about
changing non-whitelisted properties is still issued.
2014-03-03 21:02:21 -05:00

20 lines
444 B
EmacsLisp

;;; https://github.com/dimitri/el-get/issues/1472
;;; (el-get) fails when installed packages acquire dependencies that
;;; have not been installed.
(el-get-register-method-alias :test :builtin)
;;; install a
(setq el-get-sources
'((:name a :type test)))
(el-get 'sync "a")
;;; make a depend on b
(setq el-get-sources
'((:name a :type test :depends (b))
(:name b :type test)))
;;; init a, now requires b!
(el-get 'sync)