summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordickmao <rchiang@cs.stonybrook.edu>2018-05-26 00:05:43 -0400
committerdickmao <rchiang@cs.stonybrook.edu>2018-05-26 00:05:43 -0400
commit8bb985e1dd432ef84640426763db22a5a07ed53a (patch)
tree680d498f7923e736420addf25df470e61e0c705f
parent372309e8e566024d546bff5fb5e8d906bd8e3850 (diff)
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