From: John Wiegley Date: Wed, 6 Jan 2016 23:50:43 +0000 (-0800) Subject: Guard against a case where :load-paths is nil X-Git-Tag: emacs-29.0.90~1306^2~15^2~325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95038f96f1;p=emacs.git Guard against a case where :load-paths is nil --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index b88749d357b..fecd37bc121 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -562,7 +562,7 @@ manually updated package." (defun use-package-normalize-paths (label arg &optional recursed) "Normalize a list of filesystem paths." (cond - ((or (symbolp arg) (functionp arg)) + ((and arg (or (symbolp arg) (functionp arg))) (let ((value (use-package-normalize-value label arg))) (use-package-normalize-paths label (eval value)))) ((stringp arg)