summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-images.el')
-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