summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-05-28 12:44:38 -0700
committerGitHub <noreply@github.com>2018-05-28 12:44:38 -0700
commit999fcdd7f9c82c3ec2e8343c5de7b4dea53bf8d0 (patch)
tree680d498f7923e736420addf25df470e61e0c705f
parent372309e8e566024d546bff5fb5e8d906bd8e3850 (diff)
parent8bb985e1dd432ef84640426763db22a5a07ed53a (diff)
Merge pull request #18 from dickmao/master
address missing pixmaps in recent versions of xboard
-rw-r--r--chess-images.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-images.el b/chess-images.el
index 9b45593..1164c45 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -58,7 +58,7 @@
:group 'chess-images)
(defcustom chess-images-directory
- (if (file-directory-p "/usr/share/games/xboard/pixmaps")
+ (if (directory-files "/usr/share/games/xboard/pixmaps" nil "\\.xpm")
"/usr/share/games/xboard/pixmaps"
(expand-file-name "pieces/xboard"
(file-name-directory