From 17e1feee56636f74a272da744ded21c99b223035 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Thu, 1 Jan 2004 13:36:09 +0000 Subject: Explicitly look for gnuchess in /usr/games --- chess-gnuchess.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chess-gnuchess.el b/chess-gnuchess.el index 401e14c..e6a9c37 100644 --- a/chess-gnuchess.el +++ b/chess-gnuchess.el @@ -9,7 +9,8 @@ "The publically available chess engine 'gnuchess'." :group 'chess-engine) -(defcustom chess-gnuchess-path (executable-find "gnuchess") +(defcustom chess-gnuchess-path (let ((exec-path (cons "/usr/games" exec-path))) + (executable-find "gnuchess")) "The path to the gnuchess executable." :type 'file :group 'chess-gnuchess) -- cgit v1.2.3