From 899d559886410a9dca43ae793496c6384e381b43 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 11 Apr 2002 01:36:27 +0000 Subject: *** no comment *** --- chess-algebraic.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chess-algebraic.el') diff --git a/chess-algebraic.el b/chess-algebraic.el index f014a26..25b13a4 100644 --- a/chess-algebraic.el +++ b/chess-algebraic.el @@ -114,7 +114,9 @@ This regexp handles both long and short form.") (defun chess-ply-to-algebraic (ply &optional long) "Convert the given PLY to algebraic notation. If LONG is non-nil, render the move into long notation." - (if (null (car (chess-ply-changes ply))) + (if (let ((first (car (chess-ply-changes ply)))) + (or (null first) + (symbolp first))) "" (let* ((pos (chess-ply-pos ply)) (changes (chess-ply-changes ply)) -- cgit v1.2.3