summaryrefslogtreecommitdiff
path: root/chess-algebraic.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-algebraic.el')
-rw-r--r--chess-algebraic.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-algebraic.el b/chess-algebraic.el
index e4d3943..e357684 100644
--- a/chess-algebraic.el
+++ b/chess-algebraic.el
@@ -91,7 +91,8 @@ This regexp handles both long and short form.")
(if (setq candidates
(chess-search-position position target
(if color piece
- (downcase piece))))
+ (downcase piece))
+ nil t))
(if (= (length candidates) 1)
(list (car candidates) target)
(if (null source)