summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-01 13:36:09 +0000
committerMario Lang <mlang@delysid.org>2004-01-01 13:36:09 +0000
commit17e1feee56636f74a272da744ded21c99b223035 (patch)
treedd78fe228e0e120135132347959320afe56ec4b2 /chess-gnuchess.el
parent2a177a7813ab992fa8ce031405b59ef3ebf1da76 (diff)
Explicitly look for gnuchess in /usr/games
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el3
1 files changed, 2 insertions, 1 deletions
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)