diff options
| -rw-r--r-- | chess-engine.el | 2 | ||||
| -rw-r--r-- | chess-ics.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chess-engine.el b/chess-engine.el index 9ffcbb3..5f5292f 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -414,7 +414,7 @@ (setq last-trigger triggers triggers (cdr triggers))))) (forward-line)) - (setq chess-engine-last-pos (point-marker) + (setq chess-engine-last-pos (point) chess-engine-working nil)))))))) (provide 'chess-engine) diff --git a/chess-ics.el b/chess-ics.el index 5a830d6..6ef3a8c 100644 --- a/chess-ics.el +++ b/chess-ics.el @@ -187,7 +187,7 @@ who is black." t)) (defvar chess-ics-regexp-alist - (list (cons "^[^% \r\n]+% " + (list (cons "^[^% \t\n\r]+%" (function (lambda () (chess-engine-send nil "set style 12\n") @@ -198,7 +198,7 @@ who is black." (lambda () (setq chess-ics-handle (match-string 1)) 'once))) - (cons "\\(\\([ \t\n\r]*[A-Za-z0-9_]+%[ \t\n\r]*\\)?<12> \\(.+\\)\\)\n" + (cons "<12> \\(.+\\)" 'chess-ics-handle-move) (cons "Challenge: \\(\\S-+\\) \\S-+ \\S-+ \\S-+ .+" (function |
