]> git.eshelyaron.com Git - emacs.git/commitdiff
Guard against a case where :load-paths is nil
authorJohn Wiegley <johnw@newartisans.com>
Wed, 6 Jan 2016 23:50:43 +0000 (15:50 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Wed, 6 Jan 2016 23:50:43 +0000 (15:50 -0800)
lisp/use-package/use-package.el

index b88749d357be379f69cef3dafd79854c1a8acaaf..fecd37bc1218f54866e86da3fccaa6b411ef1578 100644 (file)
@@ -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)