Check package excluded property before toggle

This commit is contained in:
Eivind Fonn 2016-10-10 16:05:28 +02:00
parent 119972ab81
commit d7938d63b1

View file

@ -984,8 +984,8 @@ return both used and unused packages."
(not (stringp (oref pkg :location))) (not (stringp (oref pkg :location)))
(or (null usedp) (or (null usedp)
(and (not (null (oref pkg :owners))) (and (not (null (oref pkg :owners)))
(cfgl-package-enabledp pkg) (not (oref pkg :excluded))
(not (oref pkg :excluded))))))))) (cfgl-package-enabledp pkg))))))))
(defun configuration-layer//get-private-layer-dir (name) (defun configuration-layer//get-private-layer-dir (name)
"Return an absolute path to the private configuration layer string NAME." "Return an absolute path to the private configuration layer string NAME."