diff options
-rw-r--r-- | lisp/init-package.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-package.el b/lisp/init-package.el index 8cc0b97..d42cd04 100644 --- a/lisp/init-package.el +++ b/lisp/init-package.el @@ -27,7 +27,7 @@ re-downloaded in order to locate PACKAGE." ;; load given package unless inhibited through inhibited-packages (defun maybe-require (package) - (unless (and (boundp 'inhibited-packages) (member package inhibited-packages)) + (unless (member package (bound-and-true-p inhibited-packages)) (require package))) ;; install use-package and diminish |