From 8bb985e1dd432ef84640426763db22a5a07ed53a Mon Sep 17 00:00:00 2001 From: dickmao Date: Sat, 26 May 2018 00:05:43 -0400 Subject: address missing pixmaps in recent versions of xboard --- chess-images.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3