1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00

Guard against a case where :load-paths is nil

This commit is contained in:
John Wiegley 2016-01-06 15:50:43 -08:00
parent ed2e85e4a7
commit 95038f96f1

View 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)