diff options
author | Damien Elmes <emms@repose.cx> | 2006-06-29 14:13:00 +0000 |
---|---|---|
committer | Damien Elmes <emms@repose.cx> | 2006-06-29 14:13:00 +0000 |
commit | 372698a16cdd87f0f95cabde3e6c9f0e5f227432 (patch) | |
tree | b3fddb703346f10e1a3abfa07c76777a1d8a42c2 | |
parent | 7636b83b39c4d020b6324bebccc7b62965369d3b (diff) |
browser: fix bug with custom cover fetching function
darcs-hash:20060629141356-4e3e3-e469426ab411ae28b58dead6de6302c9528362ea.gz
-rw-r--r-- | emms-browser.el | 3 |
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) |