aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-browser.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-browser.el b/emms-browser.el
index f468b73..cf58ee6 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -1234,7 +1234,8 @@ included."
(nth 1 emms-browser-covers))
((eq size 'large)
(nth 2 emms-browser-covers))))))))
- (when (file-readable-p cover)
+ (when (and cover
+ (file-readable-p cover))
cover)))
(defun emms-browser-insert-cover (path)