From 38218bacfddbb32ee96c850b9a7d7477ff088e87 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 11 Apr 2002 19:53:31 +0000 Subject: *** no comment *** --- chess-ply.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'chess-ply.el') diff --git a/chess-ply.el b/chess-ply.el index 391264b..9db4ab7 100644 --- a/chess-ply.el +++ b/chess-ply.el @@ -63,11 +63,10 @@ (setcdr ply changes)) (defun chess-ply-has-keyword (ply &rest keywords) - (let (found) + (catch 'found (dolist (keyword keywords) (if (memq keyword (chess-ply-changes ply)) - (setq found t))) - found)) + (throw found keyword))))) (defsubst chess-ply-source (ply) (car (chess-ply-changes ply))) -- cgit v1.2.3