From 95038f96f1e715022a5ca5ffbb12fc9a4fa8a252 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 6 Jan 2016 15:50:43 -0800 Subject: [PATCH] Guard against a case where :load-paths is nil --- lisp/use-package/use-package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2