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
1 changed files with 2 additions and 2 deletions

View File

@ -984,8 +984,8 @@ return both used and unused packages."
(not (stringp (oref pkg :location)))
(or (null usedp)
(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)
"Return an absolute path to the private configuration layer string NAME."